]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/choice.h
New native OS/2 list control support.
[wxWidgets.git] / include / wx / os2 / choice.h
index 883bfe3423f7fcf392045ba7c83e7c5db8c65388..098c7117522bfec9617ee2cb7b45c92bcbe76592 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef _WX_CHOICE_H_
 #define _WX_CHOICE_H_
 
-WXDLLEXPORT_DATA(extern const char*) wxChoiceNameStr;
-
 // Choice item
 class WXDLLEXPORT wxChoice: public wxChoiceBase
 {
@@ -30,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
                    )
     {
@@ -43,9 +39,7 @@ public:
                ,n
                ,asChoices
                ,lStyle
-#if wxUSE_VALIDATORS
                ,rValidator
-#endif
                ,rsName
               );
     }
@@ -57,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
                );