]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/glcanvas.h
dac83974e56d9b914deba2cd541d0bb29b01a6d7
1 #ifndef _WX_GLCANVAS_H_BASE_
2 #define _WX_GLCANVAS_H_BASE_
9 #include "wx/msw/glcanvas.h"
10 #elif defined(__WXMOTIF__)
11 #include "wx/motif/glcanvas.h"
12 #elif defined(__WXGTK__)
13 #include "wx/gtk/glcanvas.h"
14 #elif defined(__WXMAC__)
15 #include "wx/mac/glcanvas.h"
16 #elif defined(__WXPM__)
17 #include "wx/os2/glcanvas.h"
18 #elif defined(__WXSTUBS__)
19 #include "wx/stubs/glcanvas.h"
23 class WXDLLEXPORT wxGLApp
: public wxApp
26 wxGLApp() : wxApp() { }
29 // use this in the constructor of the user-derived wxGLApp class to
30 // determine if an OpenGL rendering context with these attributes
31 // is available - returns TRUE if so, FALSE if not.
32 bool InitGLVisual(int *attribList
);
35 DECLARE_DYNAMIC_CLASS(wxGLApp
)
41 // _WX_GLCANVAS_H_BASE_