]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/symbols.h
Document wxTextCtrl::XYToPosition, PositionToXY and GetLineLength change
[wxWidgets.git] / contrib / samples / ogl / studio / symbols.h
index 390fea9a96831201208567bf73224d1eeb0c829c..72b503c4914f16b15676c7b0978815f9b0ec8776 100644 (file)
 #ifndef _STUDIO_SYMBOLS_H_
 #define _STUDIO_SYMBOLS_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 // #pragma interface
 #endif
 
 #include <wx/docview.h>
 #include <wx/string.h>
-#include <wx/wxexpr.h>
 
-#include <wx/ogl/ogl.h>
+#include <wx/ogl/ogl.h> // base header of OGL, includes and adjusts wx/deprecated/setup.h
 
 /*
  * csSymbol
@@ -65,7 +64,7 @@ public:
     void ClearSymbols();
     csSymbol* FindSymbol(const wxString& name) const;
     csSymbol* FindSymbol(int toolId) const;
-    wxBitmap* CreateToolBitmap(csSymbol* symbol);
+    wxBitmap* CreateToolBitmap(csSymbol* symbol, const wxSize& sz);
 
 protected:
     wxList          m_symbols;