Applied patch [ 657969 ] Removes #if wxUSE_VALIDATORS code

for wxOS2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-12-27 14:52:14 +00:00
parent 8251c0d6ac
commit f9eee2db81
29 changed files with 0 additions and 124 deletions

View File

@ -32,9 +32,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxBU_AUTODRAW
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxButtonNameStr
)
{
@ -44,9 +42,7 @@ public:
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -57,9 +53,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxBU_AUTODRAW
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxButtonNameStr
);

View File

@ -25,9 +25,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxButtonNameStr
)
{
@ -37,9 +35,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -50,9 +46,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxButtonNameStr
);

View File

@ -26,9 +26,7 @@ class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxCheckBoxNameStr
)
{
@ -38,9 +36,7 @@ class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -51,9 +47,7 @@ class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxCheckBoxNameStr
);
@ -83,9 +77,7 @@ class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxCheckBoxNameStr
)
{
@ -106,9 +98,7 @@ class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxCheckBoxNameStr
);

View File

@ -35,9 +35,7 @@ public:
,int nStrings = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxListBoxNameStr
);

View File

@ -28,9 +28,7 @@ public:
,int n = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxChoiceNameStr
)
{
@ -41,9 +39,7 @@ public:
,n
,asChoices
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -55,9 +51,7 @@ public:
,int n = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxChoiceNameStr
);

View File

@ -31,9 +31,7 @@ class WXDLLEXPORT wxComboBox : public wxChoice
,int n = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxComboBoxNameStr
)
{
@ -45,9 +43,7 @@ class WXDLLEXPORT wxComboBox : public wxChoice
,n
,asChoices
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -60,9 +56,7 @@ class WXDLLEXPORT wxComboBox : public wxChoice
,int n = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxComboBoxNameStr
);

View File

@ -26,9 +26,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxControlNameStr
)
{
@ -48,9 +46,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxControlNameStr
);

View File

@ -25,9 +25,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxGA_HORIZONTAL
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxGaugeNameStr
)
{
@ -37,9 +35,7 @@ public:
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -50,9 +46,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxGA_HORIZONTAL
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxGaugeNameStr
);

View File

@ -44,9 +44,7 @@ public:
,int n = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxListBoxNameStr)
{
Create( pParent
@ -56,9 +54,7 @@ public:
,n
,asChoices
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -70,9 +66,7 @@ public:
,int n = 0
,const wxString asChoices[] = NULL
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxListBoxNameStr
);

View File

@ -29,9 +29,7 @@ public:
,const wxString asChoices[] = NULL
,int nMajorDim = 0
,long lStyle = wxRA_HORIZONTAL
#if wxUSE_VALIDATORS
,const wxValidator& rVal = wxDefaultValidator
#endif
,const wxString& rsName = wxRadioBoxNameStr
)
{
@ -44,9 +42,7 @@ public:
,asChoices
,nMajorDim
,lStyle
#if wxUSE_VALIDATORS
,rVal
#endif
,rsName
);
}
@ -62,9 +58,7 @@ public:
,const wxString asChoices[] = NULL
,int nMajorDim = 0
,long lStyle = wxRA_HORIZONTAL
#if wxUSE_VALIDATORS
,const wxValidator& rVal = wxDefaultValidator
#endif
,const wxString& rsName = wxRadioBoxNameStr
);

View File

@ -24,9 +24,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxRadioButtonNameStr
)
{
@ -38,9 +36,7 @@ public:
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -51,9 +47,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxRadioButtonNameStr
);

View File

@ -27,9 +27,7 @@ public:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSB_HORIZONTAL,
#if wxUSE_VALIDATORS
const wxValidator& validator = wxDefaultValidator,
#endif
const wxString& name = wxScrollBarNameStr)
{
Create(parent, id, pos, size, style, validator, name);
@ -38,9 +36,7 @@ public:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSB_HORIZONTAL,
#if wxUSE_VALIDATORS
const wxValidator& validator = wxDefaultValidator,
#endif
const wxString& name = wxScrollBarNameStr);
int GetThumbPosition() const ;

View File

@ -27,9 +27,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxSL_HORIZONTAL
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxSliderNameStr
)
{
@ -41,9 +39,7 @@ public:
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
);
}
@ -57,9 +53,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxSL_HORIZONTAL
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxSliderNameStr
);

View File

@ -22,9 +22,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxTextCtrlNameStr
)
{
@ -38,9 +36,7 @@ public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
#endif
,const wxString& rsName = wxTextCtrlNameStr
);

View File

@ -32,9 +32,7 @@ bool wxBitmapButton::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -47,9 +47,7 @@ bool wxButton::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -62,9 +62,7 @@ bool wxCheckBox::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{
@ -76,9 +74,7 @@ bool wxCheckBox::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
))
return FALSE;
@ -192,9 +188,7 @@ bool wxBitmapCheckBox::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -274,9 +274,7 @@ wxCheckListBox::wxCheckListBox (
, int nStrings
, const wxString asChoices[]
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rVal
#endif
, const wxString& rsName
)
: wxListBox()
@ -288,9 +286,7 @@ wxCheckListBox::wxCheckListBox (
,nStrings
,asChoices
,lStyle | wxLB_OWNERDRAW
#if wxUSE_VALIDATORS
,rVal
#endif
,rsName
);
} // end of wxCheckListBox::wxCheckListBox

View File

@ -31,9 +31,7 @@ bool wxChoice::Create(
, int n
, const wxString asChoices[]
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{
@ -44,9 +42,7 @@ bool wxChoice::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
))
return FALSE;

View File

@ -95,9 +95,7 @@ bool wxComboBox::Create(
, int n
, const wxString asChoices[]
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{
@ -108,9 +106,7 @@ bool wxComboBox::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
))
return FALSE;

View File

@ -47,9 +47,7 @@ bool wxControl::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -140,9 +140,7 @@ bool wxGauge::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -93,9 +93,7 @@ bool wxListBox::Create(
, int n
, const wxString asChoices[]
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -263,9 +263,7 @@ bool wxRadioBox::Create(
, const wxString asChoices[]
, int nMajorDim
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rVal
#endif
, const wxString& rsName
)
{
@ -288,9 +286,7 @@ bool wxRadioBox::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rVal
#endif
,rsName
))
return FALSE;

View File

@ -53,9 +53,7 @@ bool wxRadioButton::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{
@ -64,9 +62,7 @@ bool wxRadioButton::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName))
return FALSE;

View File

@ -33,9 +33,7 @@ END_EVENT_TABLE()
bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos,
const wxSize& size, long style,
#if wxUSE_VALIDATORS
const wxValidator& validator,
#endif
const wxString& name)
{
if (!parent)

View File

@ -204,9 +204,7 @@ bool wxSlider::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{

View File

@ -39,9 +39,7 @@ bool wxStaticBox::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,wxDefaultValidator
#endif
,rsName
))
{

View File

@ -97,9 +97,7 @@ bool wxTextCtrl::Create(
, const wxPoint& rPos
, const wxSize& rSize
, long lStyle
#if wxUSE_VALIDATORS
, const wxValidator& rValidator
#endif
, const wxString& rsName
)
{
@ -114,9 +112,7 @@ bool wxTextCtrl::Create(
,rPos
,rSize
,lStyle
#if wxUSE_VALIDATORS
,rValidator
#endif
,rsName
))
return FALSE;