]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/choice.cpp
implemented IsModified() and DiscardEdits()
[wxWidgets.git] / src / mac / carbon / choice.cpp
index c187d9ecc75ef2f05485fc205c175616a5ef0bed..2275ce10c07d3b6a3b0c12013453260ff3d053e6 100644 (file)
@@ -46,6 +46,9 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id,
            const wxValidator& validator,
            const wxString& name)
 {
            const wxValidator& validator,
            const wxString& name)
 {
+    if ( !wxChoiceBase::Create(parent, id, pos, size, style, validator, name) )
+        return false;
+
     Rect bounds ;
     Str255 title ;
 
     Rect bounds ;
     Str255 title ;