]>
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 //------------------------------------------------------------------------------
6 // For compilers that support precompilation
13 // Include private header
14 #include "dialogs_wdr.h"
17 // Implement window functions
19 wxSizer
*MonitorDialogFunc( wxPanel
*parent
, bool call_fit
, bool set_sizer
)
21 wxSizer
*item0
= new wxBoxSizer( wxVERTICAL
);
23 wxSizer
*item1
= new wxFlexGridSizer( 2, 0, 0 );
25 wxSizer
*item2
= new wxBoxSizer( wxHORIZONTAL
);
27 wxStaticText
*item3
= new wxStaticText( parent
, ID_TEXT_MANUFACTURER
, "Manufacturer:", wxDefaultPosition
, wxSize(180,-1), 0 );
28 item3
->SetForegroundColour( *wxBLACK
);
29 item3
->SetBackgroundColour( *wxWHITE
);
30 item2
->Add( item3
, 0, wxALIGN_CENTRE
, 5 );
32 item2
->Add( 10, 20, 0, wxALIGN_CENTRE
, 5 );
34 item1
->Add( item2
, 0, wxALIGN_CENTER_VERTICAL
, 5 );
36 wxSizer
*item4
= new wxBoxSizer( wxHORIZONTAL
);
38 wxStaticText
*item5
= new wxStaticText( parent
, ID_TEXT_MODEL
, "Model:", wxDefaultPosition
, wxSize(250,-1), 0 );
39 item5
->SetForegroundColour( *wxBLACK
);
40 item5
->SetBackgroundColour( *wxWHITE
);
41 item4
->Add( item5
, 0, wxALIGN_CENTRE
, 5 );
43 item1
->Add( item4
, 0, wxALIGN_CENTER_VERTICAL
, 5 );
45 wxSizer
*item6
= new wxBoxSizer( wxHORIZONTAL
);
47 wxTextCtrl
*item7
= new wxTextCtrl( parent
, ID_TEXTCTRL_MFTR
, "", wxDefaultPosition
, wxSize(190,-1), wxTE_READONLY
);
48 item7
->SetForegroundColour( *wxBLACK
);
49 item7
->SetBackgroundColour( *wxWHITE
);
50 item6
->Add( item7
, 0, wxALIGN_CENTRE
, 5 );
52 item6
->Add( 15, 20, 0, wxALIGN_CENTRE
, 5 );
54 item1
->Add( item6
, 0, wxALIGN_CENTRE
, 5 );
56 wxSizer
*item8
= new wxBoxSizer( wxHORIZONTAL
);
58 wxTextCtrl
*item9
= new wxTextCtrl( parent
, ID_TEXTCTRL_MDL
, "", wxDefaultPosition
, wxSize(260,-1), wxTE_READONLY
);
59 item8
->Add( item9
, 0, wxALIGN_CENTRE
, 5 );
61 item1
->Add( item8
, 0, wxALIGN_CENTRE
, 5 );
63 wxSizer
*item10
= new wxBoxSizer( wxHORIZONTAL
);
65 wxString
*strs11
= (wxString
*) NULL
;
66 wxListBox
*item11
= new wxListBox( parent
, ID_LISTBOX_MFTR
, wxDefaultPosition
, wxSize(190,150), 0, strs11
, wxLB_SORT
|wxLB_ALWAYS_SB
);
67 item10
->Add( item11
, 0, wxALIGN_CENTRE
, 5 );
69 item10
->Add( 15, 20, 0, wxALIGN_CENTRE
, 5 );
71 item1
->Add( item10
, 0, wxALIGN_CENTRE
, 5 );
73 wxSizer
*item12
= new wxBoxSizer( wxHORIZONTAL
);
75 wxString
*strs13
= (wxString
*) NULL
;
76 wxListBox
*item13
= new wxListBox( parent
, ID_LISTBOX_MDL
, wxDefaultPosition
, wxSize(260,150), 0, strs13
, wxLB_SORT
|wxLB_NEEDED_SB
);
77 item13
->SetForegroundColour( *wxBLACK
);
78 item13
->SetBackgroundColour( *wxWHITE
);
79 item12
->Add( item13
, 0, wxALIGN_CENTRE
, 5 );
81 item1
->Add( item12
, 0, wxALIGN_CENTRE
, 5 );
83 item0
->Add( item1
, 0, wxALIGN_CENTRE
, 15 );
87 parent
->SetAutoLayout( TRUE
);
88 parent
->SetSizer( item0
);
92 item0
->SetSizeHints( parent
);
99 // Implement bitmap functions
102 // End of generated file