Make render sample window bigger initially
It wasn't big enough to show all of its contents.
This commit is contained in:
@@ -424,9 +424,7 @@ bool MyApp::OnInit()
|
|||||||
MyFrame::MyFrame()
|
MyFrame::MyFrame()
|
||||||
: wxFrame(NULL,
|
: wxFrame(NULL,
|
||||||
wxID_ANY,
|
wxID_ANY,
|
||||||
wxT("Render wxWidgets Sample"),
|
wxT("Render wxWidgets Sample"))
|
||||||
wxPoint(50, 50),
|
|
||||||
wxSize(450, 340))
|
|
||||||
{
|
{
|
||||||
// set the frame icon
|
// set the frame icon
|
||||||
SetIcon(wxICON(sample));
|
SetIcon(wxICON(sample));
|
||||||
@@ -481,6 +479,8 @@ MyFrame::MyFrame()
|
|||||||
|
|
||||||
m_panel = new MyPanel(this);
|
m_panel = new MyPanel(this);
|
||||||
|
|
||||||
|
SetClientSize(600, 600);
|
||||||
|
|
||||||
#if wxUSE_STATUSBAR
|
#if wxUSE_STATUSBAR
|
||||||
// create a status bar just for fun (by default with 1 pane only)
|
// create a status bar just for fun (by default with 1 pane only)
|
||||||
CreateStatusBar(2);
|
CreateStatusBar(2);
|
||||||
|
Reference in New Issue
Block a user