Minor changes to viusal appearance,
Added wxYield() to wxEndBusyCursor(), Made wxSpinButton always sent a wxSROLL_THUMBTRACK event, Made wxDirDialog resizable, Made gsocket.c compile, git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -442,7 +442,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
||||
(void)new wxStaticText( panel, -1,
|
||||
"Drag the slider!",
|
||||
wxPoint(228,30),
|
||||
wxSize(230, -1)
|
||||
wxSize(240, -1)
|
||||
);
|
||||
#else
|
||||
(void)new wxStaticText( panel, -1,
|
||||
@@ -453,7 +453,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
||||
"This is also supposed to demonstrate how\n"
|
||||
"to use static controls.\n",
|
||||
wxPoint(228,25),
|
||||
wxSize(230, 110)
|
||||
wxSize(240, 110)
|
||||
);
|
||||
#endif
|
||||
m_spintext = new wxTextCtrl( panel, -1, "0", wxPoint(20,160), wxSize(80,-1) );
|
||||
|
@@ -240,8 +240,10 @@ void MyFrame::MessageBox(wxCommandEvent& WXUNUSED(event) )
|
||||
|
||||
void MyFrame::NumericEntry(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
long res = wxGetNumberFromUser("", "Enter a number:", "Numeric input test",
|
||||
50, 0, 100, this);
|
||||
long res = wxGetNumberFromUser( "This is some text, actually a lot of text.\n"
|
||||
"Even two rows of text.",
|
||||
"Enter a number:", "Numeric input test",
|
||||
50, 0, 100, this );
|
||||
|
||||
wxString msg;
|
||||
int icon;
|
||||
|
Reference in New Issue
Block a user