]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/gauge_osx.cpp
Add wxFontDialog ctor not taking wxFontData to wxOSX.
[wxWidgets.git] / src / osx / gauge_osx.cpp
index d8cd4a35ff6cdb0656a39028dabb766bf87886eb..9e353f1f8498a7546c8f09f11f854121b645548a 100644 (file)
@@ -25,9 +25,9 @@ bool wxGauge::Create( wxWindow *parent,
     long style,
     const wxValidator& validator,
     const wxString& name )
-{
-    m_macIsUserPane = false;
-
+{    
+    DontCreatePeer();
+    
     if ( !wxGaugeBase::Create( parent, id, range, pos, s, style & 0xE0FFFFFF, validator, name ) )
         return false;