Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,9 +36,9 @@ class MyApp;
|
||||
class MyScrolledWindow: public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
MyScrolledWindow() {}
|
||||
MyScrolledWindow(){};
|
||||
MyScrolledWindow( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size );
|
||||
~MyScrolledWindow();
|
||||
~MyScrolledWindow(){};
|
||||
void OnPaint( wxPaintEvent &event );
|
||||
|
||||
private:
|
||||
@@ -87,10 +87,10 @@ private:
|
||||
class MyCanvas: public wxPanel
|
||||
{
|
||||
public:
|
||||
MyCanvas() {}
|
||||
MyCanvas(){};
|
||||
MyCanvas( wxScrolledWindow *parent, MyTopLabels *top, MyRightLabels *right,
|
||||
wxWindowID id, const wxPoint &pos, const wxSize &size );
|
||||
~MyCanvas();
|
||||
~MyCanvas(){};
|
||||
void OnPaint( wxPaintEvent &event );
|
||||
void ScrollWindow( int dx, int dy, const wxRect *rect );
|
||||
|
||||
@@ -177,10 +177,6 @@ MyScrolledWindow::MyScrolledWindow( wxWindow *parent, wxWindowID id,
|
||||
SetSizer( mainsizer );
|
||||
}
|
||||
|
||||
MyScrolledWindow::~MyScrolledWindow()
|
||||
{
|
||||
}
|
||||
|
||||
void MyScrolledWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
{
|
||||
wxPaintDC dc( this );
|
||||
@@ -296,10 +292,6 @@ MyCanvas::MyCanvas( wxScrolledWindow *parent, MyTopLabels *top, MyRightLabels *r
|
||||
SetCursor( wxCursor( wxCURSOR_IBEAM ) );
|
||||
}
|
||||
|
||||
MyCanvas::~MyCanvas()
|
||||
{
|
||||
}
|
||||
|
||||
void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
{
|
||||
wxPaintDC dc( this );
|
||||
|
Reference in New Issue
Block a user