]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gauge95.cpp
xti additions / changes, trying to reduce dependencies
[wxWidgets.git] / src / msw / gauge95.cpp
index 7d082b81b46728b23668c81e4e4778cdf445bd8a..4862f9d249ace65112360bae2594b3f3d707ff63 100644 (file)
 // 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