]> git.saurik.com Git - wxWidgets.git/blob - include/wx/glcanvas.h
initialize wxBitmapButton members
[wxWidgets.git] / include / wx / glcanvas.h
1 #ifndef _WX_GLCANVAS_H_BASE_
2 #define _WX_GLCANVAS_H_BASE_
3
4 #include "wx/defs.h"
5
6 #if wxUSE_GLCANVAS
7
8 #if defined(__WXMSW__)
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(__WXX11__)
15 #include "wx/x11/glcanvas.h"
16 #elif defined(__WXMAC__)
17 #include "wx/mac/glcanvas.h"
18 #elif defined(__WXPM__)
19 #include "wx/os2/glcanvas.h"
20 #elif defined(__WXSTUBS__)
21 #include "wx/stubs/glcanvas.h"
22 #endif
23
24 #include "wx/app.h"
25 class WXDLLEXPORT wxGLApp : public wxApp
26 {
27 public:
28 wxGLApp() : wxApp() { }
29 virtual ~wxGLApp();
30
31 // use this in the constructor of the user-derived wxGLApp class to
32 // determine if an OpenGL rendering context with these attributes
33 // is available - returns TRUE if so, FALSE if not.
34 bool InitGLVisual(int *attribList);
35
36 private:
37 DECLARE_DYNAMIC_CLASS(wxGLApp)
38 };
39
40 #endif
41 // wxUSE_GLCANVAS
42 #endif
43 // _WX_GLCANVAS_H_BASE_