X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..94709f191133613e115fdbf913eba5a81ddd207e:/contrib/samples/ogl/studio/dialogs.h diff --git a/contrib/samples/ogl/studio/dialogs.h b/contrib/samples/ogl/studio/dialogs.h index 69fedf280c..5db3a45728 100644 --- a/contrib/samples/ogl/studio/dialogs.h +++ b/contrib/samples/ogl/studio/dialogs.h @@ -19,6 +19,10 @@ #include #include +#include // base header of OGL, includes and adjusts wx/deprecated/setup.h + +#if wxUSE_WX_RESOURCES + /* * Label editing dialog (about to become obsolete) */ @@ -103,7 +107,7 @@ public: // Set some suitable defaults in the attribute dialogs (in the first instance, // just set all wxChoices to the first element) void SetDefaults(); - + // Accessors csGeneralShapePropertiesDialog* GetGeneralPropertiesDialog() const { return m_generalPropertiesDialog; } @@ -122,6 +126,8 @@ protected: DECLARE_EVENT_TABLE() }; +#endif // wxUSE_WX_RESOURCES + #define ID_SHAPE_PROPERTY_NOTEBOOK 1000 //// Specific attribute-editing panel classes below here @@ -243,6 +249,5 @@ public: DECLARE_EVENT_TABLE() }; - #endif // _STUDIO_DIALOGS_H_