added wxWindow::ClientToWindowSize and WindowToClientSize helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -355,6 +355,10 @@ public:
|
||||
return wxRect(GetClientAreaOrigin(), GetClientSize());
|
||||
}
|
||||
|
||||
// client<->window size conversion
|
||||
virtual wxSize ClientToWindowSize(const wxSize& size) const;
|
||||
virtual wxSize WindowToClientSize(const wxSize& size) const;
|
||||
|
||||
// get the size best suited for the window (in fact, minimal
|
||||
// acceptable size using which it will still look "nice" in
|
||||
// most situations)
|
||||
|
Reference in New Issue
Block a user