]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/toplevel.h
typo in style definition fixed
[wxWidgets.git] / include / wx / os2 / toplevel.h
index 8f49bb12fe195584d9a2074e1c74cc44a1bf9aba..a54b9d9602f40f9fbc17b4300c1a5f1904a0f974 100644 (file)
@@ -16,7 +16,7 @@
     #pragma interface "toplevel.h"
 #endif
 
     #pragma interface "toplevel.h"
 #endif
 
-enum ETemplateID { kResizeableDialog = 1000
+enum ETemplateID { kResizeableDialog = 127
                   ,kCaptionDialog
                   ,kNoCaptionDialog
                  };
                   ,kCaptionDialog
                   ,kNoCaptionDialog
                  };
@@ -65,6 +65,7 @@ public:
            virtual bool IsMaximized(void) const;
            virtual void Maximize(bool bMaximize = TRUE);
            virtual void Restore(void);
            virtual bool IsMaximized(void) const;
            virtual void Maximize(bool bMaximize = TRUE);
            virtual void Restore(void);
+           virtual void SendSizeEvent(void);
            virtual void SetIcon(const wxIcon& rIcon);
            virtual bool Show(bool bShow = TRUE);
            virtual bool ShowFullScreen( bool bShow
            virtual void SetIcon(const wxIcon& rIcon);
            virtual bool Show(bool bShow = TRUE);
            virtual bool ShowFullScreen( bool bShow
@@ -82,10 +83,7 @@ public:
     // Implementation from now on
     // --------------------------
     //
     // Implementation from now on
     // --------------------------
     //
-           virtual void AlterChildPos(void); // OS/2 child control positioning
-           virtual void UpdateInternalSize( wxWindow* pChild
-                                           ,int       nHeight
-                                          );
+           PSWP         GetSwpClient(void) { return &m_vSwpClient; }
 protected:
     //
     // Common part of all ctors
 protected:
     //
     // Common part of all ctors
@@ -156,6 +154,7 @@ protected:
     WXHWND                          m_hFrame;
     SWP                             m_vSwp;
     SWP                             m_vSwpClient;
     WXHWND                          m_hFrame;
     SWP                             m_vSwp;
     SWP                             m_vSwpClient;
+    static bool                     m_sbInitialized;
 }; // end of CLASS wxTopLevelWindowOS2
 
 //
 }; // end of CLASS wxTopLevelWindowOS2
 
 //