]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
fatal bug in wxSplitPath fixed
[wxWidgets.git] / src / motif / control.cpp
index 4eb2e47f0a93be3476abfc5505d4237140d00847..4a799084775bd04c81c70ff4d58db1646af3c710 100644 (file)
@@ -43,7 +43,7 @@ wxControl::wxControl()
     m_inSetValue = FALSE;
 }
 
-wxControl::wxControl( wxWindow *parent,
+bool wxControl::Create( wxWindow *parent,
                       wxWindowID id,
                       const wxPoint &pos,
                       const wxSize &size,
@@ -51,11 +51,13 @@ wxControl::wxControl( wxWindow *parent,
                       const wxValidator& validator,
                       const wxString &name)
 {
-    (void)Create(parent, id, pos, size, style, name);
+    bool ret = wxWindow::Create(parent, id, pos, size, style, name);
 
 #if wxUSE_VALIDATORS
     SetValidator(validator);
 #endif
+
+    return ret;
 }
 
 wxControl::~wxControl()