Replaced old wxSizer,
Converted two of wxGTK's standard dialogs to use them, Applied two fixes to wxDC code, Made wxRadiobox a little smaller, Added sizer.h to wx.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,7 +33,6 @@ class MyFrame: public wxFrame
|
||||
|
||||
void LoadFile(wxCommandEvent& event);
|
||||
void Quit(wxCommandEvent& event);
|
||||
void TestSizers(wxCommandEvent& event);
|
||||
void TestNewSizers(wxCommandEvent& event);
|
||||
void About(wxCommandEvent& event);
|
||||
|
||||
@@ -62,25 +61,12 @@ class MyWindow: public wxWindow
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
class SizerFrame: public wxFrame
|
||||
{
|
||||
public:
|
||||
wxPanel *panel;
|
||||
SizerFrame(wxFrame *frame, char *title, int x, int y, int w, int h);
|
||||
void OnSize(wxSizeEvent& event);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
class NewSizerFrame: public wxFrame
|
||||
{
|
||||
public:
|
||||
wxPanel *panel;
|
||||
wxNewSizer *topsizer;
|
||||
NewSizerFrame(wxFrame *frame, char *title, int x, int y );
|
||||
void OnSize(wxSizeEvent& event);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
};
|
||||
|
||||
#define LAYOUT_QUIT 100
|
||||
|
Reference in New Issue
Block a user