X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bad4a10f24f30a7af3433a84b7011b371ef20b44..301d7a0da67f917447e4f594a85a218eea4e003b:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 013426c8f8..4451f8f50d 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -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)