]>
git.saurik.com Git - wxWidgets.git/blob - contrib/samples/applet/dialogs_wdr.cpp
   1 //------------------------------------------------------------------------------ 
   2 // Source code generated by wxDesigner from file: dialogs.wdr 
   3 // Do not modify this file, all changes will be lost! 
   4 //------------------------------------------------------------------------------ 
   7     #pragma implementation "dialogs_wdr.cpp" 
  10 // For compilers that support precompilation 
  11 #include "wx/wxprec.h" 
  17 // Include private header 
  18 #include "dialogs_wdr.h" 
  21 // Implement window functions 
  23 wxSizer 
*MonitorDialogFunc( wxPanel 
*parent
, bool call_fit
, bool set_sizer 
) 
  25     wxSizer 
*item0 
= new wxBoxSizer( wxVERTICAL 
); 
  27     wxSizer 
*item1 
= new wxFlexGridSizer( 2, 0, 0 ); 
  29     wxSizer 
*item2 
= new wxBoxSizer( wxHORIZONTAL 
); 
  31     wxStaticText 
*item3 
= new wxStaticText( parent
, ID_TEXT_MANUFACTURER
, "Manufacturer:", wxDefaultPosition
, wxSize(180,-1), 0 ); 
  32     item3
->SetForegroundColour( *wxBLACK 
); 
  33     item3
->SetBackgroundColour( *wxWHITE 
); 
  34     item2
->Add( item3
, 0, wxALIGN_CENTRE
, 5 ); 
  36     item2
->Add( 10, 20, 0, wxALIGN_CENTRE
, 5 ); 
  38     item1
->Add( item2
, 0, wxALIGN_CENTER_VERTICAL
, 5 ); 
  40     wxSizer 
*item4 
= new wxBoxSizer( wxHORIZONTAL 
); 
  42     wxStaticText 
*item5 
= new wxStaticText( parent
, ID_TEXT_MODEL
, "Model:", wxDefaultPosition
, wxSize(250,-1), 0 ); 
  43     item5
->SetForegroundColour( *wxBLACK 
); 
  44     item5
->SetBackgroundColour( *wxWHITE 
); 
  45     item4
->Add( item5
, 0, wxALIGN_CENTRE
, 5 ); 
  47     item1
->Add( item4
, 0, wxALIGN_CENTER_VERTICAL
, 5 ); 
  49     wxSizer 
*item6 
= new wxBoxSizer( wxHORIZONTAL 
); 
  51     wxTextCtrl 
*item7 
= new wxTextCtrl( parent
, ID_TEXTCTRL_MFTR
, "", wxDefaultPosition
, wxSize(190,-1), wxTE_READONLY 
); 
  52     item7
->SetForegroundColour( *wxBLACK 
); 
  53     item7
->SetBackgroundColour( *wxWHITE 
); 
  54     item6
->Add( item7
, 0, wxALIGN_CENTRE
, 5 ); 
  56     item6
->Add( 15, 20, 0, wxALIGN_CENTRE
, 5 ); 
  58     item1
->Add( item6
, 0, wxALIGN_CENTRE
, 5 ); 
  60     wxSizer 
*item8 
= new wxBoxSizer( wxHORIZONTAL 
); 
  62     wxTextCtrl 
*item9 
= new wxTextCtrl( parent
, ID_TEXTCTRL_MDL
, "", wxDefaultPosition
, wxSize(260,-1), wxTE_READONLY 
); 
  63     item8
->Add( item9
, 0, wxALIGN_CENTRE
, 5 ); 
  65     item1
->Add( item8
, 0, wxALIGN_CENTRE
, 5 ); 
  67     wxSizer 
*item10 
= new wxBoxSizer( wxHORIZONTAL 
); 
  69     wxString 
*strs11 
= (wxString
*) NULL
; 
  70     wxListBox 
*item11 
= new wxListBox( parent
, ID_LISTBOX_MFTR
, wxDefaultPosition
, wxSize(190,150), 0, strs11
, wxLB_SORT
|wxLB_ALWAYS_SB 
); 
  71     item10
->Add( item11
, 0, wxALIGN_CENTRE
, 5 ); 
  73     item10
->Add( 15, 20, 0, wxALIGN_CENTRE
, 5 ); 
  75     item1
->Add( item10
, 0, wxALIGN_CENTRE
, 5 ); 
  77     wxSizer 
*item12 
= new wxBoxSizer( wxHORIZONTAL 
); 
  79     wxString 
*strs13 
= (wxString
*) NULL
; 
  80     wxListBox 
*item13 
= new wxListBox( parent
, ID_LISTBOX_MDL
, wxDefaultPosition
, wxSize(260,150), 0, strs13
, wxLB_SORT
|wxLB_NEEDED_SB 
); 
  81     item13
->SetForegroundColour( *wxBLACK 
); 
  82     item13
->SetBackgroundColour( *wxWHITE 
); 
  83     item12
->Add( item13
, 0, wxALIGN_CENTRE
, 5 ); 
  85     item1
->Add( item12
, 0, wxALIGN_CENTRE
, 5 ); 
  87     item0
->Add( item1
, 0, wxALIGN_CENTRE
, 15 ); 
  91         parent
->SetAutoLayout( TRUE 
); 
  92         parent
->SetSizer( item0 
); 
  96             item0
->SetSizeHints( parent 
); 
 103 // Implement bitmap functions 
 106 // End of generated file