#endif
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
#if !wxCHECK_MOTIF_VERSION( 2, 0 ) || wxCHECK_LESSTIF()
// XmGauge copyright notice:
{
if( !CreateControl( parent, id, pos, size, style, validator, name ) )
return false;
+ PreCreation();
Widget parentWidget = (Widget) parent->GetClientWidget();
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;
}