- ADD_STYLE( wxGA_HORIZONTAL );
- ADD_STYLE( wxGA_VERTICAL );
- ADD_STYLE( wxGA_PROGRESSBAR );
- ADD_STYLE( wxGA_SMOOTH ); // windows only
+ XRC_ADD_STYLE(wxGA_HORIZONTAL);
+ XRC_ADD_STYLE(wxGA_VERTICAL);
+#if WXWIN_COMPATIBILITY_2_6
+ XRC_ADD_STYLE(wxGA_PROGRESSBAR);
+#endif // WXWIN_COMPATIBILITY_2_6
+ XRC_ADD_STYLE(wxGA_SMOOTH); // windows only