]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
added and documented wxCOMPILE_TIME_ASSERT and wxASSERT_MIN_BITSIZE
[wxWidgets.git] / include / wx / window.h
index 76c8865089ff406b52c173989e5121627c524dda..0fd38143f05b53299703ccf4477b359182f14e7e 100644 (file)
@@ -845,6 +845,7 @@ protected:
     bool                 m_themeEnabled;
 
 protected:
+
     // common part of all ctors: it is not virtual because it is called from
     // ctor
     void InitBase();
@@ -935,7 +936,13 @@ protected:
     // a toolbar that it manages itself).
     virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags);
 
+#ifdef __WXPM__
+    // extra OS/2 layout processing
+    virtual void OS2Layout(int width, int height) { };
+#endif
+
 private:
+
     // contains the last id generated by NewControlId
     static int ms_lastControlId;
 
@@ -970,6 +977,14 @@ private:
         #define sm_classwxWindowGTK sm_classwxWindow
     #endif // wxUniv
     #include "wx/gtk/window.h"
+#elif defined(__WXX11__)
+    #ifdef __WXUNIVERSAL__
+        #define wxWindowNative wxWindowX11
+    #else // !wxUniv
+        #define wxWindowX11 wxWindow
+        #define sm_classwxWindowX11 sm_classwxWindow
+    #endif // wxUniv
+    #include "wx/x11/window.h"
 #elif defined(__WXMGL__)
     #ifdef __WXUNIVERSAL__
         #define wxWindowNative wxWindowMGL