From b82186f0e7f3d3b6cf24f6ad12fda647dd9b4ec0 Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 28 Jan 2002 03:24:34 +0000 Subject: [PATCH] Get the right dialogs into OS/2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/os2/frame.h | 1 - include/wx/os2/setup0.h | 3 +++ include/wx/os2/toplevel.h | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/wx/os2/frame.h b/include/wx/os2/frame.h index 4191b61e04..88cac74d0f 100644 --- a/include/wx/os2/frame.h +++ b/include/wx/os2/frame.h @@ -116,7 +116,6 @@ public: ,WXHMENU hMenu ); - void SendSizeEvent(void); // tooltip management #if wxUSE_TOOLTIPS WXHWND GetToolTipCtrl(void) const { return m_hWndToolTip; } diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index ea8d31fe4b..4efd8d7da7 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -315,6 +315,9 @@ // text entry dialog and wxGetTextFromUser function #define wxUSE_TEXTDLG 1 +// use the number dialog +#define wxUSE_NUMBERDLG 1 + // wxToolBar class #define wxUSE_TOOLBAR 1 #define wxUSE_TOOLBAR_NATIVE 1 diff --git a/include/wx/os2/toplevel.h b/include/wx/os2/toplevel.h index 8f49bb12fe..7ad9f88570 100644 --- a/include/wx/os2/toplevel.h +++ b/include/wx/os2/toplevel.h @@ -16,7 +16,7 @@ #pragma interface "toplevel.h" #endif -enum ETemplateID { kResizeableDialog = 1000 +enum ETemplateID { kResizeableDialog = 127 ,kCaptionDialog ,kNoCaptionDialog }; @@ -65,6 +65,7 @@ public: 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 -- 2.45.2