X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23f826bdf98d9f1570248cb926e7b7f233ed44dd..24a39c0dd5b46ad2de22da1c21758e651a24bd9b:/src/motif/gauge.cpp diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index c809994fbc..4ccdf87265 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -109,6 +109,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, { if( !CreateControl( parent, id, pos, size, style, validator, name ) ) return false; + PreCreation(); Widget parentWidget = (Widget) parent->GetClientWidget(); @@ -147,13 +148,10 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, if( size.x != wxDefaultCoord ) best.x = size.x; if( size.y != wxDefaultCoord ) best.y = size.y; - ChangeFont(false); - + PostCreation(); AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y, best.x, best.y); - ChangeBackgroundColour(); - return true; }