Undo commit of test code accidentally checked in in r62478.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-10-27 16:44:12 +00:00
parent 16d4f44015
commit de847cbcce

View File

@ -68,22 +68,6 @@ public:
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
void OnPaint(wxPaintEvent&)
{
wxPaintDC dc(this);
wxFont font = GetFont();
for ( int size = 10; size < 20; size++ )
{
font.SetPixelSize(wxSize(0, size));
dc.SetFont(font);
dc.DrawText(wxString::Format("%dpx The quick brown fox jumps over the lazy dog.", size),
10, 10 + (size - 10)*20);
}
}
private:
// any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
@ -115,7 +99,6 @@ enum
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
EVT_MENU(Minimal_Quit, MyFrame::OnQuit)
EVT_MENU(Minimal_About, MyFrame::OnAbout)
EVT_PAINT(MyFrame::OnPaint)
END_EVENT_TABLE()
// Create a new application object: this macro will allow wxWidgets to create