]> git.saurik.com Git - wxWidgets.git/blame - include/wx/glcanvas.h
fixed off by one error in wxXPMDecoder::ReadFile
[wxWidgets.git] / include / wx / glcanvas.h
CommitLineData
8b089c5e
JS
1#ifndef _WX_GLCANVAS_H_BASE_
2#define _WX_GLCANVAS_H_BASE_
3
a3081354
VZ
4#include "wx/defs.h"
5
6#if wxUSE_GLCANVAS
7
8b089c5e
JS
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"
8b089c5e
JS
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"
20#endif
21
a3081354
VZ
22class WXDLLEXPORT wxGLApp : public wxApp
23{
24public:
25 wxGLApp() : wxApp() { }
26 virtual ~wxGLApp();
27
28 // use this in the constructor of the user-derived wxGLApp class to
29 // determine if an OpenGL rendering context with these attributes
30 // is available - returns TRUE if so, FALSE if not.
31 bool InitGLVisual(int *attribList);
32
33private:
34 DECLARE_DYNAMIC_CLASS(wxGLApp)
35};
36
37#endif
38 // wxUSE_GLCANVAS
8b089c5e
JS
39#endif
40 // _WX_GLCANVAS_H_BASE_