Added default constructor to wxGLCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,6 +30,8 @@ DECLARE_CLASS(wxGLCanvas)
|
||||
public:
|
||||
GLXContext glx_cx;
|
||||
|
||||
inline wxGLCanvas() { glx_cx = 0; }
|
||||
|
||||
wxGLCanvas(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxString& name = "GLCanvas", int *attribList = 0, const wxPalette& palette = wxNullPalette);
|
||||
|
Reference in New Issue
Block a user