X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/msw/glcanvas.h diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index 3cad5da8ee..825c19dfc3 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -9,13 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifndef _WX_GLCANVAS_H_ +#define _WX_GLCANVAS_H_ + #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif -#ifndef _WX_GLCANVAS_H_ -#define _WX_GLCANVAS_H_ - #include "wx/palette.h" #include "wx/scrolwin.h" @@ -96,7 +96,7 @@ public: const wxPalette& palette = wxNullPalette); wxGLCanvas(wxWindow *parent, - const wxGLContext *shared = (wxGLContext *) NULL, + const wxGLContext *shared, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -106,7 +106,7 @@ public: const wxPalette& palette = wxNullPalette); wxGLCanvas(wxWindow *parent, - const wxGLCanvas *shared = (wxGLCanvas *)NULL, + const wxGLCanvas *shared, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,