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:
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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 ;
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user