![]() ![]() More.ĬlientToWindowSize (const wxSize &size) constĬonverts client area size size to corresponding window size. More.įix child window positions after setting all of them at once. Prepare for changing positions of multiple child windows. See also the protected functions DoGetBestSize() and DoGetBestClientSize(). This class supports the following styles:Ĭategory: Miscellaneous Windows See also Events and Event Handling, Window Sizing Overview Sizing functions To allow overriding them in the derived class, wxWidgets uses a unique protected virtual DoGetXXX() method and all GetXXX() ones are forwarded to it, so overriding the former changes the behaviour of the latter. In this case, the overloads are non-virtual because having multiple virtual functions with the same name results in a virtual function name hiding at the derived class level (in English, this means that the derived class has to override all overloaded variants if it overrides any of them). Please see the window deletion overview for more information.Īlso note that in this, and many others, wxWidgets classes some GetXXX() methods may be overloaded (as, for example, wxWindow::GetSize or wxWindow::GetClientSize). ![]() Please note that all children of the window will be deleted automatically by the destructor before the window itself is deleted which means that you don't have to worry about deleting them manually. Sizers and device contexts are not, however, as they don't appear on screen themselves. WxWindow is the base class for all windows and represents any visible object on screen.Īll controls, top level windows and so on are windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |