Applied patch [ 802596 ] warning and error free Open GL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -40,17 +40,19 @@ public:
 | 
			
		||||
DECLARE_EVENT_TABLE()
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#if wxUSE_GLCANVAS
 | 
			
		||||
 | 
			
		||||
class TestGLCanvas: public wxGLCanvas
 | 
			
		||||
{
 | 
			
		||||
  friend class MyFrame;
 | 
			
		||||
public:
 | 
			
		||||
 TestGLCanvas(wxWindow *parent, const wxWindowID id = -1, 
 | 
			
		||||
    const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
 | 
			
		||||
    long style = 0, const wxString& name = "TestGLCanvas");
 | 
			
		||||
    long style = 0, const wxString& name = _T("TestGLCanvas"));
 | 
			
		||||
 TestGLCanvas(wxWindow *parent, const TestGLCanvas &other,
 | 
			
		||||
          const wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
 | 
			
		||||
          const wxSize& size = wxDefaultSize, long style = 0,
 | 
			
		||||
          const wxString& name = "TestGLCanvas" );
 | 
			
		||||
          const wxString& name = _T("TestGLCanvas") );
 | 
			
		||||
   
 | 
			
		||||
 ~TestGLCanvas(void);
 | 
			
		||||
 | 
			
		||||
@@ -91,3 +93,5 @@ DECLARE_EVENT_TABLE()
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user