Testing creation of some typical sub-windows without WS_VISIBLE style

(Those seem to not use it under MSW either...).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-09-20 22:58:39 +00:00
parent cda910b673
commit 144c947fab
6 changed files with 6 additions and 9 deletions

View File

@@ -61,7 +61,7 @@ bool wxButton::Create(
m_windowId = NewControlId(); m_windowId = NewControlId();
else else
m_windowId = vId; m_windowId = vId;
lStyle = WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON; lStyle = WS_TABSTOP | BS_PUSHBUTTON;
// //
// OS/2 PM does not have Right/Left/Top/Bottom styles. // OS/2 PM does not have Right/Left/Top/Bottom styles.

View File

@@ -81,8 +81,7 @@ bool wxCheckBox::Create(
long osStyle = BS_AUTOCHECKBOX | long osStyle = BS_AUTOCHECKBOX |
WS_TABSTOP | WS_TABSTOP;
WS_VISIBLE;
bOk = OS2CreateControl( wxT("BUTTON") bOk = OS2CreateControl( wxT("BUTTON")
,osStyle ,osStyle

View File

@@ -116,8 +116,7 @@ bool wxComboBox::Create(
// //
long lSstyle = 0L; long lSstyle = 0L;
lSstyle = WS_TABSTOP | lSstyle = WS_TABSTOP;
WS_VISIBLE;
if (lStyle & wxCLIP_SIBLINGS ) if (lStyle & wxCLIP_SIBLINGS )
lSstyle |= WS_CLIPSIBLINGS; lSstyle |= WS_CLIPSIBLINGS;

View File

@@ -145,8 +145,7 @@ bool wxSpinCtrl::Create(
int lSstyle = 0L; int lSstyle = 0L;
lSstyle = WS_VISIBLE | lSstyle = WS_TABSTOP |
WS_TABSTOP |
SPBS_MASTER | // We use only single field spin buttons SPBS_MASTER | // We use only single field spin buttons
SPBS_NUMERICONLY; // We default to numeric data SPBS_NUMERICONLY; // We default to numeric data

View File

@@ -60,7 +60,7 @@ bool wxStaticText::Create(
long lSstyle = 0L; long lSstyle = 0L;
lSstyle = WS_VISIBLE | SS_TEXT | DT_VCENTER; lSstyle = SS_TEXT | DT_VCENTER;
if (m_windowStyle & wxALIGN_CENTRE) if (m_windowStyle & wxALIGN_CENTRE)
lSstyle |= DT_CENTER; lSstyle |= DT_CENTER;
else if (m_windowStyle & wxALIGN_RIGHT) else if (m_windowStyle & wxALIGN_RIGHT)

View File

@@ -128,7 +128,7 @@ bool wxTextCtrl::Create(
m_windowStyle = lStyle; m_windowStyle = lStyle;
m_bIsMLE = FALSE; m_bIsMLE = FALSE;
long lSstyle = WS_VISIBLE | WS_TABSTOP; long lSstyle = WS_TABSTOP;
// //
// Single and multiline edit fields are two different controls in PM // Single and multiline edit fields are two different controls in PM