X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed72fbf723697143940bc927b1a6d6fee35beb3f..bc55104d9ab0b0b835644f17a152b4fbbfa8c7b9:/include/wx/toplevel.h?ds=sidebyside diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index a2cc6c0ef8..f5a64871b7 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -122,14 +122,6 @@ public: // so should be there for all platforms void OnActivate(wxActivateEvent &WXUNUSED(event)) { } - // Override in derived, platfrom specific, class if your OS coordinate - // system uses anything other than the top left as 0,0. The second - // method updates any internal sizing parameters such as OS/2's SWP struct - inline virtual void AlterChildPos(void) { } - inline virtual void UpdateInternalSize( wxWindow* WXUNUSED(pChild) - ,int WXUNUSED(nHeight) - ) { } - protected: // the frame client to screen translation should take account of the // toolbar which may shift the origin of the client area @@ -157,6 +149,9 @@ protected: #elif defined(__WXGTK__) #include "wx/gtk/toplevel.h" #define wxTopLevelWindowNative wxTopLevelWindowGTK +#elif defined(__WXX11__) + #include "wx/x11/toplevel.h" + #define wxTopLevelWindowNative wxTopLevelWindowX11 #elif defined(__WXMGL__) #include "wx/mgl/toplevel.h" #define wxTopLevelWindowNative wxTopLevelWindowMGL