// -*- C++ -*- // // generated by wxGlade "faked test version" // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp Dialog1.cpp Frame1.cpp // #include "CalendarCtrl.h" // begin wxGlade: ::extracode // end wxGlade MyDialog::MyDialog(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxDialog(parent, id, title, pos, size, wxDEFAULT_DIALOG_STYLE) { // begin wxGlade: MyDialog::MyDialog calendar_ctrl_1 = new wxCalendarCtrl(this, wxID_ANY, wxDefaultDateTime); set_properties(); do_layout(); // end wxGlade } void MyDialog::set_properties() { // begin wxGlade: MyDialog::set_properties SetTitle(wxT("dialog_1")); // end wxGlade } void MyDialog::do_layout() { // begin wxGlade: MyDialog::do_layout wxBoxSizer* sizer_1 = new wxBoxSizer(wxHORIZONTAL); sizer_1->Add(calendar_ctrl_1, 0, 0, 0); SetSizer(sizer_1); sizer_1->Fit(this); Layout(); // end wxGlade }