summaryrefslogtreecommitdiff
path: root/src/wx/gl_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/gl_view.h')
-rw-r--r--src/wx/gl_view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/gl_view.h b/src/wx/gl_view.h
index f20d5962a..2065f5ede 100644
--- a/src/wx/gl_view.h
+++ b/src/wx/gl_view.h
@@ -45,8 +45,6 @@ public:
GLView(wxWindow* parent);
virtual ~GLView();
- virtual void update();
-
wxWindow* canvas() const {
return _canvas;
}
@@ -56,12 +54,14 @@ public:
}
protected:
- virtual void size_changed(wxSizeEvent const& ev);
virtual void thread_setup() = 0;
virtual void draw() = 0;
virtual void thread_playing() = 0;
virtual boost::optional<int> time_until_next_frame() const = 0;
+ virtual void size_changed(wxSizeEvent const& ev);
+ virtual void update();
+
void start_thread_if_required();
void start();
void stop();