]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/glcanvas.h
#4479: wx.ComboBox needs a SetFont method
[wxWidgets.git] / include / wx / msw / glcanvas.h
index 203816b4ea115f4b3951bce1724388475a0a8495..dba1cba083b280efa3976aea8ff5a3d6ac1cad48 100644 (file)
@@ -46,6 +46,7 @@ private:
 class WXDLLIMPEXP_GL wxGLCanvas : public wxGLCanvasBase
 {
 public:
+    wxEXPLICIT // avoid implicitly converting a wxWindow* to wxGLCanvas
     wxGLCanvas(wxWindow *parent,
                wxWindowID id = wxID_ANY,
                const int *attribList = NULL,
@@ -140,10 +141,11 @@ protected:
     // HDC for this window, we keep it all the time
     HDC m_hDC;
 
+    void wxGLCanvas::DestroyWindowPFD(wxWindow *parent);
+
 private:
     DECLARE_EVENT_TABLE()
     DECLARE_CLASS(wxGLCanvas)
 };
 
 #endif // _WX_GLCANVAS_H_
-