// -*- 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 "Statusbar_wo_labels.h" // begin wxGlade: ::extracode // end wxGlade MyFrame::MyFrame(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style): wxFrame(parent, id, title, pos, size, style) { // begin wxGlade: MyFrame::MyFrame label_1 = new wxStaticText(this, wxID_ANY, _("Example of a statusbar with three fields\nbut without labels in those fields.")); statusbar_without_labels = CreateStatusBar(3); set_properties(); do_layout(); // end wxGlade } void MyFrame::set_properties() { // begin wxGlade: MyFrame::set_properties SetTitle(_("frame_1")); int statusbar_without_labels_widths[] = { -1, -1, -1 }; statusbar_without_labels->SetStatusWidths(3, statusbar_without_labels_widths); // end wxGlade } void MyFrame::do_layout() { // begin wxGlade: MyFrame::do_layout wxBoxSizer* sizer_1 = new wxBoxSizer(wxVERTICAL); sizer_1->Add(label_1, 1, wxALL|wxEXPAND, 5); SetSizer(sizer_1); sizer_1->Fit(this); Layout(); // end wxGlade }