From 8a005cfb0d40dabfb1aa2d7a286a23d451f59592 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 6 Jun 2004 17:45:55 +0000 Subject: [PATCH] Readded WS_VISIBLE flags that I removed for testing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@27669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/button.cpp | 2 +- src/os2/combobox.cpp | 3 ++- src/os2/spinctrl.cpp | 3 ++- src/os2/stattext.cpp | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 9ad62df37a..c47b6dce32 100644 --- a/src/os2/button.cpp +++ b/src/os2/button.cpp @@ -61,7 +61,7 @@ bool wxButton::Create( m_windowId = NewControlId(); else m_windowId = vId; - lStyle = WS_TABSTOP | BS_PUSHBUTTON; + lStyle = WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON; // // OS/2 PM does not have Right/Left/Top/Bottom styles. diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index c2283c74a7..321bb92332 100644 --- a/src/os2/combobox.cpp +++ b/src/os2/combobox.cpp @@ -116,7 +116,8 @@ bool wxComboBox::Create( // long lSstyle = 0L; - lSstyle = WS_TABSTOP; + lSstyle = WS_TABSTOP | + WS_VISIBLE; if (lStyle & wxCLIP_SIBLINGS ) lSstyle |= WS_CLIPSIBLINGS; diff --git a/src/os2/spinctrl.cpp b/src/os2/spinctrl.cpp index 2b14803117..938692dccd 100644 --- a/src/os2/spinctrl.cpp +++ b/src/os2/spinctrl.cpp @@ -145,7 +145,8 @@ bool wxSpinCtrl::Create( int lSstyle = 0L; - lSstyle = WS_TABSTOP | + lSstyle = WS_VISIBLE | + WS_TABSTOP | SPBS_MASTER | // We use only single field spin buttons SPBS_NUMERICONLY; // We default to numeric data diff --git a/src/os2/stattext.cpp b/src/os2/stattext.cpp index 4083c955f3..d5cfd5c9e4 100644 --- a/src/os2/stattext.cpp +++ b/src/os2/stattext.cpp @@ -60,7 +60,7 @@ bool wxStaticText::Create( long lSstyle = 0L; - lSstyle = SS_TEXT | DT_VCENTER; + lSstyle = WS_VISIBLE | SS_TEXT | DT_VCENTER; if (m_windowStyle & wxALIGN_CENTRE) lSstyle |= DT_CENTER; else if (m_windowStyle & wxALIGN_RIGHT)