X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5abe54648fcd428e57ed38bfd2fada3921b4cf83..694f70fa9c0cc8889c208020bf75b2e3861f6818:/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)