]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/choice.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[wxWidgets.git] / include / wx / gtk1 / choice.h
index c78e8308fe684cac2f8c621b0e0ec8143ca07136..83fb38db79f61b78f6e030a24ccd9335e168fcd8 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        wx/gtk1/choice.h
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -29,7 +28,7 @@ public:
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxChoiceNameStr )
     {
-        m_strings = (wxSortedArrayString *)NULL;
+        m_strings = NULL;
 
         Create(parent, id, pos, size, n, choices, style, validator, name);
     }
@@ -41,7 +40,7 @@ public:
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxChoiceNameStr )
     {
-        m_strings = (wxSortedArrayString *)NULL;
+        m_strings = NULL;
 
         Create(parent, id, pos, size, choices, style, validator, name);
     }
@@ -49,7 +48,7 @@ public:
     bool Create( wxWindow *parent, wxWindowID id,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
-            int n = 0, const wxString choices[] = (wxString *) NULL,
+            int n = 0, const wxString choices[] = NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxChoiceNameStr );