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:
Julian Smart
1999-12-24 12:28:20 +00:00
parent f3314fbcb4
commit 9434fb903d
3 changed files with 16 additions and 0 deletions

View File

@@ -108,6 +108,14 @@ public:
int *attribList = (int*) NULL,
const wxPalette& palette = wxNullPalette );
inline wxGLCanvas() {
m_glContext = (wxGLContext*) NULL;
m_sharedContext = (wxGLContext*) NULL;
m_glWidget = (GtkWidget*) NULL;
m_vi = (void*) NULL;
m_exposed = FALSE;
}
bool Create( wxWindow *parent, const wxGLContext *shared = (wxGLContext *)NULL,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,