const wxPoint &pos, const wxSize &size )
: wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER )
{
- (void) new wxButton( this, -1, "wxButton", wxPoint(10,10) );
+
+// (void) new wxButton( this, -1, "wxButton", wxPoint(10,10) );
- (void) new wxTextCtrl( this, -1, "wxTextCtrl", wxPoint(10,50) );
+// (void) new wxTextCtrl( this, -1, "wxTextCtrl", wxPoint(10,50) );
- (void) new wxCheckBox( this, -1, "Disable", wxPoint(10,90) );
+ (void) new wxRadioButton( this, -1, "Disable", wxPoint(10,90) );
wxString choices[] =
{
"examples."
};
- (void) new wxComboBox( this, -1, "This", wxPoint(10,130), wxDefaultSize, 5, choices );
+// (void) new wxComboBox( this, -1, "This", wxPoint(10,130), wxDefaultSize, 5, choices );
- (void) new wxRadioBox( this, -1, "This", wxPoint(10,200), wxDefaultSize, 5, choices );
+// (void) new wxRadioBox( this, -1, "This", wxPoint(10,200), wxDefaultSize, 5, choices );
}
MyCanvas::~MyCanvas()
void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
{
+ return;
+
wxPaintDC dc( this );
PrepareDC( dc );