X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..cb73e6001f891ae46b12a1e4ca39b93649cb6099:/src/msw/gauge95.cpp diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 7d082b81b4..4862f9d249 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -66,15 +66,27 @@ // wxWin macros // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxGauge95, wxControl) - +#if wxUSE_EXTENDED_RTTI +IMPLEMENT_DYNAMIC_CLASS_XTI(wxGauge, wxControl,"wx/gauge.h") + +WX_BEGIN_PROPERTIES_TABLE(wxGauge95) + WX_PROPERTY( Value , int , SetValue, GetValue, 0 ) + WX_PROPERTY( Range , int , SetRange, GetRange, 0 ) + WX_PROPERTY( ShadowWidth , int , SetShadowWidth, GetShadowWidth, 0 ) + WX_PROPERTY( BezelFace , int , SetBezelFace, GetBezelFace, 0 ) /* TODO PROPERTIES - range (long) - value (long) - shadow (ShadowWidth) - bezel (BezelFace) + style wxGA_HORIZONTAL */ +WX_END_PROPERTIES_TABLE() + +WX_BEGIN_HANDLERS_TABLE(wxGauge95) +WX_END_HANDLERS_TABLE() + +WX_CONSTRUCTOR_6( wxGauge95 , wxWindow* , Parent , wxWindowID , Id , int , Range , wxPoint , Position , wxSize , Size , long , WindowStyle ) +#else +IMPLEMENT_DYNAMIC_CLASS(wxGauge95, wxControl) +#endif // ============================================================================ // implementation