mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
ca3ebe743f
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1812 8ced0084-cf51-0410-be5f-012b33b47a6e
37 lines
621 B
C++
37 lines
621 B
C++
#ifndef _WXGLWINDOW_H
|
|
#define _WXGLWINDOW_H
|
|
|
|
#include "GLWindow.h"
|
|
#if defined USE_WX && USE_WX
|
|
#include "wx/wx.h"
|
|
#include "wx/glcanvas.h"
|
|
|
|
class WXGLWindow : public GLWindow
|
|
{
|
|
private:
|
|
wxGLCanvas *glCanvas;
|
|
wxFrame *frame;
|
|
wxGLContext *glCtxt;
|
|
|
|
public:
|
|
|
|
virtual void SwapBuffers();
|
|
virtual void SetWindowText(const char *text);
|
|
virtual bool PeekMessages();
|
|
virtual void Update();
|
|
virtual bool MakeCurrent();
|
|
|
|
static bool valid() { return true; }
|
|
~WXGLWindow();
|
|
WXGLWindow();
|
|
|
|
};
|
|
#else
|
|
class WXGLWindow : public GLWindow
|
|
{
|
|
public:
|
|
WXGLWindow() {}
|
|
};
|
|
#endif
|
|
#endif
|