update fSpent flag on wallet transactions if they're seen spent in case copy of walle...
[novacoin.git] / uibase.h
1 // Copyright (c) 2009-2010 Satoshi Nakamoto\r
2 // Distributed under the MIT/X11 software license, see the accompanying\r
3 // file license.txt or http://www.opensource.org/licenses/mit-license.php.\r
4 ///////////////////////////////////////////////////////////////////////////\r
5 // C++ code generated with wxFormBuilder (version Apr 16 2008)\r
6 // http://www.wxformbuilder.org/\r
7 //\r
8 // PLEASE DO "NOT" EDIT THIS FILE!\r
9 ///////////////////////////////////////////////////////////////////////////\r
10 \r
11 #ifndef __uibase__\r
12 #define __uibase__\r
13 \r
14 #include <wx/string.h>\r
15 #include <wx/bitmap.h>\r
16 #include <wx/image.h>\r
17 #include <wx/icon.h>\r
18 #include <wx/menu.h>\r
19 #include <wx/gdicmn.h>\r
20 #include <wx/font.h>\r
21 #include <wx/colour.h>\r
22 #include <wx/settings.h>\r
23 #include <wx/toolbar.h>\r
24 #include <wx/statusbr.h>\r
25 #include <wx/stattext.h>\r
26 #include <wx/textctrl.h>\r
27 #include <wx/button.h>\r
28 #include <wx/sizer.h>\r
29 #include <wx/panel.h>\r
30 #include <wx/choice.h>\r
31 #include <wx/listctrl.h>\r
32 #include <wx/frame.h>\r
33 #include <wx/html/htmlwin.h>\r
34 #include <wx/dialog.h>\r
35 #include <wx/listbox.h>\r
36 #include <wx/checkbox.h>\r
37 #include <wx/spinctrl.h>\r
38 #include <wx/scrolwin.h>\r
39 #include <wx/statbmp.h>\r
40 #include <wx/combobox.h>\r
41 #include <wx/richtext/richtextctrl.h>\r
42 \r
43 ///////////////////////////////////////////////////////////////////////////\r
44 \r
45 #define wxID_MAINFRAME 1000\r
46 #define wxID_VIEWSHOWGENERATED 1001\r
47 #define wxID_OPTIONSGENERATEBITCOINS 1002\r
48 #define wxID_MENUOPTIONSOPTIONS 1003\r
49 #define wxID_BUTTONSEND 1004\r
50 #define wxID_BUTTONRECEIVE 1005\r
51 #define wxID_TEXTCTRLADDRESS 1006\r
52 #define wxID_BUTTONCOPY 1007\r
53 #define wxID_BUTTONCHANGE 1008\r
54 #define wxID_TRANSACTIONFEE 1009\r
55 #define wxID_PROXYIP 1010\r
56 #define wxID_PROXYPORT 1011\r
57 #define wxID_TEXTCTRLPAYTO 1012\r
58 #define wxID_BUTTONPASTE 1013\r
59 #define wxID_BUTTONADDRESSBOOK 1014\r
60 #define wxID_TEXTCTRLAMOUNT 1015\r
61 #define wxID_CHOICETRANSFERTYPE 1016\r
62 #define wxID_LISTCTRL 1017\r
63 #define wxID_BUTTONRENAME 1018\r
64 #define wxID_BUTTONNEW 1019\r
65 #define wxID_BUTTONEDIT 1020\r
66 #define wxID_BUTTONDELETE 1021\r
67 #define wxID_DEL0 1022\r
68 #define wxID_DEL1 1023\r
69 #define wxID_DEL2 1024\r
70 #define wxID_DEL3 1025\r
71 #define wxID_DEL4 1026\r
72 #define wxID_DEL5 1027\r
73 #define wxID_DEL6 1028\r
74 #define wxID_DEL7 1029\r
75 #define wxID_DEL8 1030\r
76 #define wxID_DEL9 1031\r
77 #define wxID_DEL10 1032\r
78 #define wxID_DEL11 1033\r
79 #define wxID_DEL12 1034\r
80 #define wxID_DEL13 1035\r
81 #define wxID_DEL14 1036\r
82 #define wxID_DEL15 1037\r
83 #define wxID_DEL16 1038\r
84 #define wxID_DEL17 1039\r
85 #define wxID_DEL18 1040\r
86 #define wxID_DEL19 1041\r
87 #define wxID_BUTTONPREVIEW 1042\r
88 #define wxID_BUTTONSAMPLE 1043\r
89 #define wxID_CANCEL2 1044\r
90 #define wxID_BUTTONBACK 1045\r
91 #define wxID_BUTTONNEXT 1046\r
92 #define wxID_SUBMIT 1047\r
93 #define wxID_TEXTCTRL 1048\r
94 \r
95 ///////////////////////////////////////////////////////////////////////////////\r
96 /// Class CMainFrameBase\r
97 ///////////////////////////////////////////////////////////////////////////////\r
98 class CMainFrameBase : public wxFrame \r
99 {\r
100         private:\r
101         \r
102         protected:\r
103                 wxMenuBar* m_menubar;\r
104                 wxMenu* m_menuFile;\r
105                 wxMenu* m_menuView;\r
106                 wxMenu* m_menuHelp;\r
107                 wxToolBar* m_toolBar;\r
108                 wxStatusBar* m_statusBar;\r
109                 \r
110                 wxStaticText* m_staticText32;\r
111                 wxTextCtrl* m_textCtrlAddress;\r
112                 wxButton* m_buttonCopy;\r
113                 wxButton* m_button91;\r
114                 \r
115                 wxPanel* m_panel14;\r
116                 wxStaticText* m_staticText41;\r
117                 wxStaticText* m_staticTextBalance;\r
118                 \r
119                 wxChoice* m_choiceFilter;\r
120                 \r
121                 // Virtual event handlers, overide them in your derived class\r
122                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
123                 virtual void OnIconize( wxIconizeEvent& event ){ event.Skip(); }\r
124                 virtual void OnIdle( wxIdleEvent& event ){ event.Skip(); }\r
125                 virtual void OnMouseEvents( wxMouseEvent& event ){ event.Skip(); }\r
126                 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }\r
127                 virtual void OnMenuFileExit( wxCommandEvent& event ){ event.Skip(); }\r
128                 virtual void OnMenuViewShowGenerated( wxCommandEvent& event ){ event.Skip(); }\r
129                 virtual void OnUpdateUIViewShowGenerated( wxUpdateUIEvent& event ){ event.Skip(); }\r
130                 virtual void OnMenuOptionsGenerate( wxCommandEvent& event ){ event.Skip(); }\r
131                 virtual void OnUpdateUIOptionsGenerate( wxUpdateUIEvent& event ){ event.Skip(); }\r
132                 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ){ event.Skip(); }\r
133                 virtual void OnMenuOptionsOptions( wxCommandEvent& event ){ event.Skip(); }\r
134                 virtual void OnMenuHelpAbout( wxCommandEvent& event ){ event.Skip(); }\r
135                 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }\r
136                 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }\r
137                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
138                 virtual void OnMouseEventsAddress( wxMouseEvent& event ){ event.Skip(); }\r
139                 virtual void OnSetFocusAddress( wxFocusEvent& event ){ event.Skip(); }\r
140                 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }\r
141                 virtual void OnButtonChange( wxCommandEvent& event ){ event.Skip(); }\r
142                 virtual void OnListColBeginDrag( wxListEvent& event ){ event.Skip(); }\r
143                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
144                 virtual void OnPaintListCtrl( wxPaintEvent& event ){ event.Skip(); }\r
145                 \r
146         \r
147         public:\r
148                 wxMenu* m_menuOptions;\r
149                 wxListCtrl* m_listCtrl;\r
150                 CMainFrameBase( wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = wxT("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 712,484 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );\r
151                 ~CMainFrameBase();\r
152         \r
153 };\r
154 \r
155 ///////////////////////////////////////////////////////////////////////////////\r
156 /// Class CTxDetailsDialogBase\r
157 ///////////////////////////////////////////////////////////////////////////////\r
158 class CTxDetailsDialogBase : public wxDialog \r
159 {\r
160         private:\r
161         \r
162         protected:\r
163                 wxHtmlWindow* m_htmlWin;\r
164                 wxButton* m_buttonOK;\r
165                 \r
166                 // Virtual event handlers, overide them in your derived class\r
167                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
168                 \r
169         \r
170         public:\r
171                 CTxDetailsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Transaction Details"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 620,450 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
172                 ~CTxDetailsDialogBase();\r
173         \r
174 };\r
175 \r
176 ///////////////////////////////////////////////////////////////////////////////\r
177 /// Class COptionsDialogBase\r
178 ///////////////////////////////////////////////////////////////////////////////\r
179 class COptionsDialogBase : public wxDialog \r
180 {\r
181         private:\r
182         \r
183         protected:\r
184                 wxListBox* m_listBox;\r
185                 wxScrolledWindow* m_scrolledWindow;\r
186                 wxPanel* m_panelMain;\r
187                 \r
188                 wxStaticText* m_staticText32;\r
189                 wxStaticText* m_staticText31;\r
190                 wxTextCtrl* m_textCtrlTransactionFee;\r
191                 wxCheckBox* m_checkBoxLimitProcessors;\r
192                 wxSpinCtrl* m_spinCtrlLimitProcessors;\r
193                 wxStaticText* m_staticText35;\r
194                 wxCheckBox* m_checkBoxStartOnSystemStartup;\r
195                 wxCheckBox* m_checkBoxMinimizeToTray;\r
196                 wxCheckBox* m_checkBoxMinimizeOnClose;\r
197                 wxCheckBox* m_checkBoxUseProxy;\r
198                 \r
199                 wxStaticText* m_staticTextProxyIP;\r
200                 wxTextCtrl* m_textCtrlProxyIP;\r
201                 wxStaticText* m_staticTextProxyPort;\r
202                 wxTextCtrl* m_textCtrlProxyPort;\r
203                 wxPanel* m_panelTest2;\r
204                 \r
205                 wxStaticText* m_staticText321;\r
206                 wxStaticText* m_staticText69;\r
207                 wxStaticText* m_staticText70;\r
208                 wxStaticText* m_staticText71;\r
209                 wxButton* m_buttonOK;\r
210                 wxButton* m_buttonCancel;\r
211                 wxButton* m_buttonApply;\r
212                 \r
213                 // Virtual event handlers, overide them in your derived class\r
214                 virtual void OnListBox( wxCommandEvent& event ){ event.Skip(); }\r
215                 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ){ event.Skip(); }\r
216                 virtual void OnCheckBoxLimitProcessors( wxCommandEvent& event ){ event.Skip(); }\r
217                 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ){ event.Skip(); }\r
218                 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ){ event.Skip(); }\r
219                 virtual void OnKillFocusProxy( wxFocusEvent& event ){ event.Skip(); }\r
220                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
221                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
222                 virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }\r
223                 \r
224         \r
225         public:\r
226                 COptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 540,360 ), long style = wxDEFAULT_DIALOG_STYLE );\r
227                 ~COptionsDialogBase();\r
228         \r
229 };\r
230 \r
231 ///////////////////////////////////////////////////////////////////////////////\r
232 /// Class CAboutDialogBase\r
233 ///////////////////////////////////////////////////////////////////////////////\r
234 class CAboutDialogBase : public wxDialog \r
235 {\r
236         private:\r
237         \r
238         protected:\r
239                 wxStaticBitmap* m_bitmap;\r
240                 \r
241                 wxStaticText* m_staticText40;\r
242                 \r
243                 wxStaticText* m_staticTextMain;\r
244                 \r
245                 \r
246                 wxButton* m_buttonOK;\r
247                 \r
248                 // Virtual event handlers, overide them in your derived class\r
249                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
250                 \r
251         \r
252         public:\r
253                 wxStaticText* m_staticTextVersion;\r
254                 CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 532,329 ), long style = wxDEFAULT_DIALOG_STYLE );\r
255                 ~CAboutDialogBase();\r
256         \r
257 };\r
258 \r
259 ///////////////////////////////////////////////////////////////////////////////\r
260 /// Class CSendDialogBase\r
261 ///////////////////////////////////////////////////////////////////////////////\r
262 class CSendDialogBase : public wxDialog \r
263 {\r
264         private:\r
265         \r
266         protected:\r
267                 \r
268                 \r
269                 wxStaticText* m_staticTextInstructions;\r
270                 \r
271                 wxStaticBitmap* m_bitmapCheckMark;\r
272                 wxStaticText* m_staticText36;\r
273                 wxTextCtrl* m_textCtrlAddress;\r
274                 wxButton* m_buttonPaste;\r
275                 wxButton* m_buttonAddress;\r
276                 wxStaticText* m_staticText19;\r
277                 wxTextCtrl* m_textCtrlAmount;\r
278                 wxStaticText* m_staticText20;\r
279                 wxChoice* m_choiceTransferType;\r
280                 \r
281                 \r
282                 wxStaticText* m_staticTextFrom;\r
283                 wxTextCtrl* m_textCtrlFrom;\r
284                 wxStaticText* m_staticTextMessage;\r
285                 wxTextCtrl* m_textCtrlMessage;\r
286                 \r
287                 wxButton* m_buttonSend;\r
288                 wxButton* m_buttonCancel;\r
289                 \r
290                 // Virtual event handlers, overide them in your derived class\r
291                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
292                 virtual void OnTextAddress( wxCommandEvent& event ){ event.Skip(); }\r
293                 virtual void OnButtonPaste( wxCommandEvent& event ){ event.Skip(); }\r
294                 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }\r
295                 virtual void OnKillFocusAmount( wxFocusEvent& event ){ event.Skip(); }\r
296                 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }\r
297                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
298                 \r
299         \r
300         public:\r
301                 CSendDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 675,312 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
302                 ~CSendDialogBase();\r
303         \r
304 };\r
305 \r
306 ///////////////////////////////////////////////////////////////////////////////\r
307 /// Class CSendingDialogBase\r
308 ///////////////////////////////////////////////////////////////////////////////\r
309 class CSendingDialogBase : public wxDialog \r
310 {\r
311         private:\r
312         \r
313         protected:\r
314                 wxStaticText* m_staticTextSending;\r
315                 wxTextCtrl* m_textCtrlStatus;\r
316                 \r
317                 wxButton* m_buttonOK;\r
318                 wxButton* m_buttonCancel;\r
319                 \r
320                 // Virtual event handlers, overide them in your derived class\r
321                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
322                 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }\r
323                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
324                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
325                 \r
326         \r
327         public:\r
328                 CSendingDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Sending..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 442,151 ), long style = wxDEFAULT_DIALOG_STYLE );\r
329                 ~CSendingDialogBase();\r
330         \r
331 };\r
332 \r
333 ///////////////////////////////////////////////////////////////////////////////\r
334 /// Class CYourAddressDialogBase\r
335 ///////////////////////////////////////////////////////////////////////////////\r
336 class CYourAddressDialogBase : public wxDialog \r
337 {\r
338         private:\r
339         \r
340         protected:\r
341                 \r
342                 wxStaticText* m_staticText45;\r
343                 wxListCtrl* m_listCtrl;\r
344                 \r
345                 wxButton* m_buttonRename;\r
346                 wxButton* m_buttonNew;\r
347                 wxButton* m_buttonCopy;\r
348                 wxButton* m_buttonOK;\r
349                 wxButton* m_buttonCancel;\r
350                 \r
351                 // Virtual event handlers, overide them in your derived class\r
352                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
353                 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }\r
354                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
355                 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }\r
356                 virtual void OnButtonRename( wxCommandEvent& event ){ event.Skip(); }\r
357                 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }\r
358                 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }\r
359                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
360                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
361                 \r
362         \r
363         public:\r
364                 CYourAddressDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Your Bitcoin Addresses"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
365                 ~CYourAddressDialogBase();\r
366         \r
367 };\r
368 \r
369 ///////////////////////////////////////////////////////////////////////////////\r
370 /// Class CAddressBookDialogBase\r
371 ///////////////////////////////////////////////////////////////////////////////\r
372 class CAddressBookDialogBase : public wxDialog \r
373 {\r
374         private:\r
375         \r
376         protected:\r
377                 \r
378                 wxStaticText* m_staticText55;\r
379                 wxListCtrl* m_listCtrl;\r
380                 \r
381                 wxButton* m_buttonEdit;\r
382                 wxButton* m_buttonNew;\r
383                 wxButton* m_buttonDelete;\r
384                 wxButton* m_buttonOK;\r
385                 \r
386                 // Virtual event handlers, overide them in your derived class\r
387                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
388                 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }\r
389                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
390                 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }\r
391                 virtual void OnButtonEdit( wxCommandEvent& event ){ event.Skip(); }\r
392                 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }\r
393                 virtual void OnButtonDelete( wxCommandEvent& event ){ event.Skip(); }\r
394                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
395                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
396                 \r
397         \r
398         public:\r
399                 wxButton* m_buttonCancel;\r
400                 CAddressBookDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
401                 ~CAddressBookDialogBase();\r
402         \r
403 };\r
404 \r
405 ///////////////////////////////////////////////////////////////////////////////\r
406 /// Class CProductsDialogBase\r
407 ///////////////////////////////////////////////////////////////////////////////\r
408 class CProductsDialogBase : public wxDialog \r
409 {\r
410         private:\r
411         \r
412         protected:\r
413                 wxComboBox* m_comboBoxCategory;\r
414                 wxTextCtrl* m_textCtrlSearch;\r
415                 wxButton* m_buttonSearch;\r
416                 wxListCtrl* m_listCtrl;\r
417                 \r
418                 // Virtual event handlers, overide them in your derived class\r
419                 virtual void OnCombobox( wxCommandEvent& event ){ event.Skip(); }\r
420                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
421                 virtual void OnButtonSearch( wxCommandEvent& event ){ event.Skip(); }\r
422                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
423                 \r
424         \r
425         public:\r
426                 CProductsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Marketplace"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 708,535 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
427                 ~CProductsDialogBase();\r
428         \r
429 };\r
430 \r
431 ///////////////////////////////////////////////////////////////////////////////\r
432 /// Class CEditProductDialogBase\r
433 ///////////////////////////////////////////////////////////////////////////////\r
434 class CEditProductDialogBase : public wxFrame \r
435 {\r
436         private:\r
437         \r
438         protected:\r
439                 wxScrolledWindow* m_scrolledWindow;\r
440                 wxStaticText* m_staticText106;\r
441                 wxComboBox* m_comboBoxCategory;\r
442                 wxStaticText* m_staticText108;\r
443                 wxTextCtrl* m_textCtrlTitle;\r
444                 wxStaticText* m_staticText107;\r
445                 wxTextCtrl* m_textCtrlPrice;\r
446                 wxStaticText* m_staticText22;\r
447                 wxTextCtrl* m_textCtrlDescription;\r
448                 wxStaticText* m_staticText23;\r
449                 wxTextCtrl* m_textCtrlInstructions;\r
450                 wxStaticText* m_staticText24;\r
451                 wxStaticText* m_staticText25;\r
452                 \r
453                 wxTextCtrl* m_textCtrlLabel0;\r
454                 wxTextCtrl* m_textCtrlField0;\r
455                 wxButton* m_buttonDel0;\r
456                 wxTextCtrl* m_textCtrlLabel1;\r
457                 wxTextCtrl* m_textCtrlField1;\r
458                 wxButton* m_buttonDel1;\r
459                 wxTextCtrl* m_textCtrlLabel2;\r
460                 wxTextCtrl* m_textCtrlField2;\r
461                 wxButton* m_buttonDel2;\r
462                 wxTextCtrl* m_textCtrlLabel3;\r
463                 wxTextCtrl* m_textCtrlField3;\r
464                 wxButton* m_buttonDel3;\r
465                 wxTextCtrl* m_textCtrlLabel4;\r
466                 wxTextCtrl* m_textCtrlField4;\r
467                 wxButton* m_buttonDel4;\r
468                 wxTextCtrl* m_textCtrlLabel5;\r
469                 wxTextCtrl* m_textCtrlField5;\r
470                 wxButton* m_buttonDel5;\r
471                 wxTextCtrl* m_textCtrlLabel6;\r
472                 wxTextCtrl* m_textCtrlField6;\r
473                 wxButton* m_buttonDel6;\r
474                 wxTextCtrl* m_textCtrlLabel7;\r
475                 wxTextCtrl* m_textCtrlField7;\r
476                 wxButton* m_buttonDel7;\r
477                 wxTextCtrl* m_textCtrlLabel8;\r
478                 wxTextCtrl* m_textCtrlField8;\r
479                 wxButton* m_buttonDel8;\r
480                 wxTextCtrl* m_textCtrlLabel9;\r
481                 wxTextCtrl* m_textCtrlField9;\r
482                 wxButton* m_buttonDel9;\r
483                 wxTextCtrl* m_textCtrlLabel10;\r
484                 wxTextCtrl* m_textCtrlField10;\r
485                 wxButton* m_buttonDel10;\r
486                 wxTextCtrl* m_textCtrlLabel11;\r
487                 wxTextCtrl* m_textCtrlField11;\r
488                 wxButton* m_buttonDel11;\r
489                 wxTextCtrl* m_textCtrlLabel12;\r
490                 wxTextCtrl* m_textCtrlField12;\r
491                 wxButton* m_buttonDel12;\r
492                 wxTextCtrl* m_textCtrlLabel13;\r
493                 wxTextCtrl* m_textCtrlField13;\r
494                 wxButton* m_buttonDel13;\r
495                 wxTextCtrl* m_textCtrlLabel14;\r
496                 wxTextCtrl* m_textCtrlField14;\r
497                 wxButton* m_buttonDel14;\r
498                 wxTextCtrl* m_textCtrlLabel15;\r
499                 wxTextCtrl* m_textCtrlField15;\r
500                 wxButton* m_buttonDel15;\r
501                 wxTextCtrl* m_textCtrlLabel16;\r
502                 wxTextCtrl* m_textCtrlField16;\r
503                 wxButton* m_buttonDel16;\r
504                 wxTextCtrl* m_textCtrlLabel17;\r
505                 wxTextCtrl* m_textCtrlField17;\r
506                 wxButton* m_buttonDel17;\r
507                 wxTextCtrl* m_textCtrlLabel18;\r
508                 wxTextCtrl* m_textCtrlField18;\r
509                 wxButton* m_buttonDel18;\r
510                 wxTextCtrl* m_textCtrlLabel19;\r
511                 wxTextCtrl* m_textCtrlField19;\r
512                 wxButton* m_buttonDel19;\r
513                 wxButton* m_buttonAddField;\r
514                 wxButton* m_buttonOK;\r
515                 wxButton* m_buttonPreview;\r
516                 wxButton* m_buttonCancel;\r
517                 \r
518                 // Virtual event handlers, overide them in your derived class\r
519                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
520                 virtual void OnButtonDel0( wxCommandEvent& event ){ event.Skip(); }\r
521                 virtual void OnButtonDel1( wxCommandEvent& event ){ event.Skip(); }\r
522                 virtual void OnButtonDel2( wxCommandEvent& event ){ event.Skip(); }\r
523                 virtual void OnButtonDel3( wxCommandEvent& event ){ event.Skip(); }\r
524                 virtual void OnButtonDel4( wxCommandEvent& event ){ event.Skip(); }\r
525                 virtual void OnButtonDel5( wxCommandEvent& event ){ event.Skip(); }\r
526                 virtual void OnButtonDel6( wxCommandEvent& event ){ event.Skip(); }\r
527                 virtual void OnButtonDel7( wxCommandEvent& event ){ event.Skip(); }\r
528                 virtual void OnButtonDel8( wxCommandEvent& event ){ event.Skip(); }\r
529                 virtual void OnButtonDel9( wxCommandEvent& event ){ event.Skip(); }\r
530                 virtual void OnButtonDel10( wxCommandEvent& event ){ event.Skip(); }\r
531                 virtual void OnButtonDel11( wxCommandEvent& event ){ event.Skip(); }\r
532                 virtual void OnButtonDel12( wxCommandEvent& event ){ event.Skip(); }\r
533                 virtual void OnButtonDel13( wxCommandEvent& event ){ event.Skip(); }\r
534                 virtual void OnButtonDel14( wxCommandEvent& event ){ event.Skip(); }\r
535                 virtual void OnButtonDel15( wxCommandEvent& event ){ event.Skip(); }\r
536                 virtual void OnButtonDel16( wxCommandEvent& event ){ event.Skip(); }\r
537                 virtual void OnButtonDel17( wxCommandEvent& event ){ event.Skip(); }\r
538                 virtual void OnButtonDel18( wxCommandEvent& event ){ event.Skip(); }\r
539                 virtual void OnButtonDel19( wxCommandEvent& event ){ event.Skip(); }\r
540                 virtual void OnButtonAddField( wxCommandEvent& event ){ event.Skip(); }\r
541                 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }\r
542                 virtual void OnButtonPreview( wxCommandEvent& event ){ event.Skip(); }\r
543                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
544                 \r
545         \r
546         public:\r
547                 wxFlexGridSizer* fgSizer5;\r
548                 CEditProductDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Edit Product"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 660,640 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );\r
549                 ~CEditProductDialogBase();\r
550         \r
551 };\r
552 \r
553 ///////////////////////////////////////////////////////////////////////////////\r
554 /// Class CViewProductDialogBase\r
555 ///////////////////////////////////////////////////////////////////////////////\r
556 class CViewProductDialogBase : public wxFrame \r
557 {\r
558         private:\r
559         \r
560         protected:\r
561                 wxHtmlWindow* m_htmlWinReviews;\r
562                 wxScrolledWindow* m_scrolledWindow;\r
563                 wxRichTextCtrl* m_richTextHeading;\r
564                 wxStaticText* m_staticTextInstructions;\r
565                 wxButton* m_buttonSubmitForm;\r
566                 wxButton* m_buttonCancelForm;\r
567                 wxButton* m_buttonBack;\r
568                 wxButton* m_buttonNext;\r
569                 wxButton* m_buttonCancel;\r
570                 \r
571                 // Virtual event handlers, overide them in your derived class\r
572                 virtual void OnButtonSubmitForm( wxCommandEvent& event ){ event.Skip(); }\r
573                 virtual void OnButtonCancelForm( wxCommandEvent& event ){ event.Skip(); }\r
574                 virtual void OnButtonBack( wxCommandEvent& event ){ event.Skip(); }\r
575                 virtual void OnButtonNext( wxCommandEvent& event ){ event.Skip(); }\r
576                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
577                 \r
578         \r
579         public:\r
580                 CViewProductDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Order Form"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 630,520 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );\r
581                 ~CViewProductDialogBase();\r
582         \r
583 };\r
584 \r
585 ///////////////////////////////////////////////////////////////////////////////\r
586 /// Class CViewOrderDialogBase\r
587 ///////////////////////////////////////////////////////////////////////////////\r
588 class CViewOrderDialogBase : public wxFrame \r
589 {\r
590         private:\r
591         \r
592         protected:\r
593                 wxHtmlWindow* m_htmlWin;\r
594                 wxButton* m_buttonOK;\r
595                 \r
596                 // Virtual event handlers, overide them in your derived class\r
597                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
598                 \r
599         \r
600         public:\r
601                 CViewOrderDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("View Order"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 630,520 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );\r
602                 ~CViewOrderDialogBase();\r
603         \r
604 };\r
605 \r
606 ///////////////////////////////////////////////////////////////////////////////\r
607 /// Class CEditReviewDialogBase\r
608 ///////////////////////////////////////////////////////////////////////////////\r
609 class CEditReviewDialogBase : public wxFrame \r
610 {\r
611         private:\r
612         \r
613         protected:\r
614                 \r
615                 wxStaticText* m_staticTextSeller;\r
616                 \r
617                 wxStaticText* m_staticText110;\r
618                 wxChoice* m_choiceStars;\r
619                 wxStaticText* m_staticText43;\r
620                 wxTextCtrl* m_textCtrlReview;\r
621                 wxButton* m_buttonSubmit;\r
622                 wxButton* m_buttonCancel;\r
623                 \r
624                 // Virtual event handlers, overide them in your derived class\r
625                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
626                 virtual void OnButtonSubmit( wxCommandEvent& event ){ event.Skip(); }\r
627                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
628                 \r
629         \r
630         public:\r
631                 CEditReviewDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Enter Review"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 630,440 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );\r
632                 ~CEditReviewDialogBase();\r
633         \r
634 };\r
635 \r
636 ///////////////////////////////////////////////////////////////////////////////\r
637 /// Class CGetTextFromUserDialogBase\r
638 ///////////////////////////////////////////////////////////////////////////////\r
639 class CGetTextFromUserDialogBase : public wxDialog \r
640 {\r
641         private:\r
642         \r
643         protected:\r
644                 \r
645                 wxStaticText* m_staticTextMessage1;\r
646                 wxTextCtrl* m_textCtrl1;\r
647                 wxStaticText* m_staticTextMessage2;\r
648                 wxTextCtrl* m_textCtrl2;\r
649                 \r
650                 \r
651                 wxButton* m_buttonOK;\r
652                 wxButton* m_buttonCancel;\r
653                 \r
654                 // Virtual event handlers, overide them in your derived class\r
655                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
656                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
657                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
658                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
659                 \r
660         \r
661         public:\r
662                 CGetTextFromUserDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 403,138 ), long style = wxDEFAULT_DIALOG_STYLE );\r
663                 ~CGetTextFromUserDialogBase();\r
664         \r
665 };\r
666 \r
667 #endif //__uibase__\r