added missing winundef.h include after windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,10 +16,11 @@
|
|||||||
#ifndef _WX_GLCANVAS_H_
|
#ifndef _WX_GLCANVAS_H_
|
||||||
#define _WX_GLCANVAS_H_
|
#define _WX_GLCANVAS_H_
|
||||||
|
|
||||||
#include <wx/palette.h>
|
#include "wx/palette.h"
|
||||||
#include <wx/scrolwin.h>
|
#include "wx/scrolwin.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include "wx/msw/winundef.h"
|
||||||
|
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
|
||||||
@@ -79,21 +80,24 @@ public:
|
|||||||
wxWindow* m_window;
|
wxWindow* m_window;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define wxGLCanvasName _T("GLCanvas")
|
||||||
|
|
||||||
class WXDLLEXPORT wxGLCanvas: public wxWindow
|
class WXDLLEXPORT wxGLCanvas: public wxWindow
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(wxGLCanvas)
|
DECLARE_CLASS(wxGLCanvas)
|
||||||
public:
|
public:
|
||||||
wxGLCanvas(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
|
wxGLCanvas(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize, long style = 0,
|
const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const wxString& name = "GLCanvas", int *attribList = 0, const wxPalette& palette = wxNullPalette);
|
const wxString& name = wxGLCanvasName, int *attribList = 0, const wxPalette& palette = wxNullPalette);
|
||||||
wxGLCanvas( wxWindow *parent, const wxGLContext *shared = (wxGLContext *)NULL,
|
wxGLCanvas( wxWindow *parent, const wxGLContext *shared = (wxGLContext *)NULL,
|
||||||
wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
|
wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = "GLCanvas",
|
const wxSize& size = wxDefaultSize, long style = 0, const wxString&
|
||||||
|
name = wxGLCanvasName,
|
||||||
int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette );
|
int *attribList = (int*) NULL, const wxPalette& palette = wxNullPalette );
|
||||||
|
|
||||||
wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared = (wxGLCanvas *)NULL, wxWindowID id = -1,
|
wxGLCanvas( wxWindow *parent, const wxGLCanvas *shared = (wxGLCanvas *)NULL, wxWindowID id = -1,
|
||||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,
|
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const wxString& name = "GLCanvas", int *attribList = 0, const wxPalette& palette = wxNullPalette );
|
const wxString& name = wxGLCanvasName, int *attribList = 0, const wxPalette& palette = wxNullPalette );
|
||||||
|
|
||||||
~wxGLCanvas();
|
~wxGLCanvas();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user