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:
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 );
SetSizer( mainsizer );
}
-MyScrolledWindow::~MyScrolledWindow()
-{
-}
-
void MyScrolledWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
{
wxPaintDC dc( this );
SetCursor( wxCursor( wxCURSOR_IBEAM ) );
}
-MyCanvas::~MyCanvas()
-{
-}
-
void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
{
wxPaintDC dc( this );