X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..184b5d99a5382cd7a19888c85aff11f8a21af2f6:/src/motif/gauge.cpp diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index 4067322557..d47c8d976a 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -123,10 +123,12 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, if (height == -1) height = 80; + m_windowFont = parent->GetFont(); + ChangeFont(FALSE); + SetCanAddEventHandler(TRUE); AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y, width, height); - SetFont(* parent->GetFont()); ChangeBackgroundColour(); return TRUE; @@ -188,19 +190,19 @@ int wxGauge::GetValue() const // return m_gaugePos; } -void wxGauge::ChangeFont() +void wxGauge::ChangeFont(bool keepOriginalSize) { - // TODO + wxWindow::ChangeFont(keepOriginalSize); } void wxGauge::ChangeBackgroundColour() { - // TODO + wxWindow::ChangeBackgroundColour(); } void wxGauge::ChangeForegroundColour() { - // TODO + wxWindow::ChangeForegroundColour(); } //// PRIVATE DECLARATIONS FOR XMGAUGE