X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc3065a56f1febf3de3b3bbf0904cf8fdc7f7c50..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/include/wx/palmos/glcanvas.h?ds=inline diff --git a/include/wx/palmos/glcanvas.h b/include/wx/palmos/glcanvas.h index 4aa7df791d..e4e5275523 100644 --- a/include/wx/palmos/glcanvas.h +++ b/include/wx/palmos/glcanvas.h @@ -19,7 +19,7 @@ #include -class WXDLLIMPEXP_GL wxGLCanvas; /* forward reference */ +class WXDLLIMPEXP_FWD_GL wxGLCanvas; /* forward reference */ class WXDLLIMPEXP_GL wxGLContext: public wxObject { @@ -35,7 +35,7 @@ public: void SetCurrent(); - void SetColour(const wxChar *colour); + void SetColour(const wxString& colour); void SwapBuffers(); @@ -63,17 +63,17 @@ public: const wxPalette& palette = wxNullPalette); wxGLCanvas(wxWindow *parent, - const wxGLContext *shared = (wxGLContext *) NULL, + const wxGLContext *shared = NULL, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxGLCanvasName, - int *attribList = (int *) NULL, + int *attribList = NULL, const wxPalette& palette = wxNullPalette); wxGLCanvas(wxWindow *parent, - const wxGLCanvas *shared = (wxGLCanvas *)NULL, + const wxGLCanvas *shared = NULL, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -110,7 +110,7 @@ public: inline WXHDC GetHDC() const { return m_hDC; } - void SetupPixelFormat(int *attribList = (int *) NULL); + void SetupPixelFormat(int *attribList = NULL); void SetupPalette(const wxPalette& palette);