]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/gauge.cpp
focus setting must be possible even when not shown yet
[wxWidgets.git] / src / mac / carbon / gauge.cpp
index de7dd8c90c9b14a848fe061486751cde114fb10a..01a557e17cc671672067b0ae1cb54ecf6771c735 100644 (file)
@@ -29,6 +29,9 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
            const wxValidator& validator,
            const wxString& name)
 {
+    if ( !wxGaugeBase::Create(parent, id, range, pos, s, style, validator, name) )
+        return false;
+
     wxSize size = s ;
     Rect bounds ;
     Str255 title ;