X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5abe54648fcd428e57ed38bfd2fada3921b4cf83..22095a6e1a53cacd630625f02b3b23728a7bb12a:/contrib/samples/ogl/studio/studio.h diff --git a/contrib/samples/ogl/studio/studio.h b/contrib/samples/ogl/studio/studio.h index b739730356..7d36cf0a4f 100644 --- a/contrib/samples/ogl/studio/studio.h +++ b/contrib/samples/ogl/studio/studio.h @@ -14,6 +14,13 @@ #include #include +#include +#include +#ifdef __WXMSW__ + #include +#else + #include +#endif #include #include @@ -81,7 +88,7 @@ public: wxMenu* GetShapeEditMenu() const { return m_shapeEditMenu; } wxDiagramClipboard& GetDiagramClipboard() const { return (wxDiagramClipboard&) m_diagramClipboard; } wxDocManager* GetDocManager() const { return m_docManager; } - wxHelpController& GetHelpController() const { return (wxHelpController&) m_helpController; } + wxHelpControllerBase* GetHelpController() const { return m_helpController; } int GetGridStyle() const { return m_gridStyle; } void SetGridStyle(int style) { m_gridStyle = style; } @@ -112,7 +119,7 @@ protected: csDiagramClipboard m_diagramClipboard; // Help instance - wxHelpController m_helpController; + wxHelpControllerBase* m_helpController; }; DECLARE_APP(csApp)