1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Dec 21 2009)
3 // http://www.wxformbuilder.org/
5 // PLEASE DO "NOT" EDIT THIS FILE!
6 ///////////////////////////////////////////////////////////////////////////
13 #include <wx/string.h>
14 #include <wx/bitmap.h>
18 #include <wx/gdicmn.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/toolbar.h>
23 #include <wx/statusbr.h>
24 #include <wx/stattext.h>
25 #include <wx/textctrl.h>
26 #include <wx/button.h>
28 #include <wx/choice.h>
29 #include <wx/listctrl.h>
31 #include <wx/notebook.h>
33 #include <wx/html/htmlwin.h>
34 #include <wx/dialog.h>
35 #include <wx/listbox.h>
36 #include <wx/checkbox.h>
37 #include <wx/spinctrl.h>
38 #include <wx/scrolwin.h>
39 #include <wx/statbmp.h>
41 ///////////////////////////////////////////////////////////////////////////
43 #define wxID_MAINFRAME 1000
44 #define wxID_OPTIONSGENERATEBITCOINS 1001
45 #define wxID_BUTTONSEND 1002
46 #define wxID_BUTTONRECEIVE 1003
47 #define wxID_TEXTCTRLADDRESS 1004
48 #define wxID_BUTTONNEW 1005
49 #define wxID_BUTTONCOPY 1006
50 #define wxID_PROXYIP 1007
51 #define wxID_PROXYPORT 1008
52 #define wxID_TRANSACTIONFEE 1009
53 #define wxID_TEXTCTRLPAYTO 1010
54 #define wxID_BUTTONPASTE 1011
55 #define wxID_BUTTONADDRESSBOOK 1012
56 #define wxID_TEXTCTRLAMOUNT 1013
57 #define wxID_CHOICETRANSFERTYPE 1014
58 #define wxID_LISTCTRL 1015
59 #define wxID_BUTTONRENAME 1016
60 #define wxID_PANELSENDING 1017
61 #define wxID_LISTCTRLSENDING 1018
62 #define wxID_PANELRECEIVING 1019
63 #define wxID_LISTCTRLRECEIVING 1020
64 #define wxID_BUTTONDELETE 1021
65 #define wxID_BUTTONEDIT 1022
66 #define wxID_TEXTCTRL 1023
68 ///////////////////////////////////////////////////////////////////////////////
69 /// Class CMainFrameBase
70 ///////////////////////////////////////////////////////////////////////////////
71 class CMainFrameBase : public wxFrame
81 wxStaticText* m_staticText32;
82 wxButton* m_buttonNew;
83 wxButton* m_buttonCopy;
85 wxStaticText* m_staticText41;
86 wxStaticText* m_staticTextBalance;
88 wxChoice* m_choiceFilter;
89 wxNotebook* m_notebook;
95 // Virtual event handlers, overide them in your derived class
96 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
97 virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
98 virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
99 virtual void OnMouseEvents( wxMouseEvent& event ) { event.Skip(); }
100 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
101 virtual void OnMenuFileExit( wxCommandEvent& event ) { event.Skip(); }
102 virtual void OnMenuOptionsGenerate( wxCommandEvent& event ) { event.Skip(); }
103 virtual void OnUpdateUIOptionsGenerate( wxUpdateUIEvent& event ) { event.Skip(); }
104 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ) { event.Skip(); }
105 virtual void OnMenuOptionsOptions( wxCommandEvent& event ) { event.Skip(); }
106 virtual void OnMenuHelpAbout( wxCommandEvent& event ) { event.Skip(); }
107 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
108 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
109 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
110 virtual void OnMouseEventsAddress( wxMouseEvent& event ) { event.Skip(); }
111 virtual void OnSetFocusAddress( wxFocusEvent& event ) { event.Skip(); }
112 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
113 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
114 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
115 virtual void OnListColBeginDrag( wxListEvent& event ) { event.Skip(); }
116 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
117 virtual void OnPaintListCtrl( wxPaintEvent& event ) { event.Skip(); }
121 wxMenu* m_menuOptions;
122 wxStatusBar* m_statusBar;
123 wxTextCtrl* m_textCtrlAddress;
124 wxListCtrl* m_listCtrlAll;
125 wxListCtrl* m_listCtrlSentReceived;
126 wxListCtrl* m_listCtrlSent;
127 wxListCtrl* m_listCtrlReceived;
129 CMainFrameBase( wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = _("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 723,484 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
134 ///////////////////////////////////////////////////////////////////////////////
135 /// Class CTxDetailsDialogBase
136 ///////////////////////////////////////////////////////////////////////////////
137 class CTxDetailsDialogBase : public wxDialog
142 wxHtmlWindow* m_htmlWin;
143 wxButton* m_buttonOK;
145 // Virtual event handlers, overide them in your derived class
146 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
151 CTxDetailsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Transaction Details"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 620,450 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
152 ~CTxDetailsDialogBase();
156 ///////////////////////////////////////////////////////////////////////////////
157 /// Class COptionsDialogBase
158 ///////////////////////////////////////////////////////////////////////////////
159 class COptionsDialogBase : public wxDialog
164 wxListBox* m_listBox;
165 wxScrolledWindow* m_scrolledWindow;
166 wxPanel* m_panelMain;
168 wxCheckBox* m_checkBoxLimitProcessors;
169 wxSpinCtrl* m_spinCtrlLimitProcessors;
170 wxStaticText* m_staticText35;
171 wxCheckBox* m_checkBoxStartOnSystemStartup;
172 wxCheckBox* m_checkBoxMinimizeToTray;
173 wxCheckBox* m_checkBoxUseUPnP;
174 wxCheckBox* m_checkBoxMinimizeOnClose;
175 wxCheckBox* m_checkBoxUseProxy;
177 wxStaticText* m_staticTextProxyIP;
178 wxTextCtrl* m_textCtrlProxyIP;
179 wxStaticText* m_staticTextProxyPort;
180 wxTextCtrl* m_textCtrlProxyPort;
182 wxStaticText* m_staticText32;
183 wxStaticText* m_staticText31;
184 wxTextCtrl* m_textCtrlTransactionFee;
185 wxPanel* m_panelTest2;
187 wxStaticText* m_staticText321;
188 wxStaticText* m_staticText69;
189 wxButton* m_buttonOK;
190 wxButton* m_buttonCancel;
191 wxButton* m_buttonApply;
193 // Virtual event handlers, overide them in your derived class
194 virtual void OnListBox( wxCommandEvent& event ) { event.Skip(); }
195 virtual void OnCheckBoxLimitProcessors( wxCommandEvent& event ) { event.Skip(); }
196 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ) { event.Skip(); }
197 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ) { event.Skip(); }
198 virtual void OnKillFocusProxy( wxFocusEvent& event ) { event.Skip(); }
199 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ) { event.Skip(); }
200 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
201 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
202 virtual void OnButtonApply( wxCommandEvent& event ) { event.Skip(); }
207 COptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 540,360 ), long style = wxDEFAULT_DIALOG_STYLE );
208 ~COptionsDialogBase();
212 ///////////////////////////////////////////////////////////////////////////////
213 /// Class CAboutDialogBase
214 ///////////////////////////////////////////////////////////////////////////////
215 class CAboutDialogBase : public wxDialog
220 wxStaticBitmap* m_bitmap;
222 wxStaticText* m_staticText40;
224 wxStaticText* m_staticTextMain;
227 wxButton* m_buttonOK;
229 // Virtual event handlers, overide them in your derived class
230 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
234 wxStaticText* m_staticTextVersion;
236 CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 532,333 ), long style = wxDEFAULT_DIALOG_STYLE );
241 ///////////////////////////////////////////////////////////////////////////////
242 /// Class CSendDialogBase
243 ///////////////////////////////////////////////////////////////////////////////
244 class CSendDialogBase : public wxDialog
251 wxStaticText* m_staticTextInstructions;
253 wxStaticBitmap* m_bitmapCheckMark;
254 wxStaticText* m_staticText36;
255 wxTextCtrl* m_textCtrlAddress;
256 wxButton* m_buttonPaste;
257 wxButton* m_buttonAddress;
258 wxStaticText* m_staticText19;
259 wxTextCtrl* m_textCtrlAmount;
260 wxStaticText* m_staticText20;
261 wxChoice* m_choiceTransferType;
265 wxButton* m_buttonSend;
266 wxButton* m_buttonCancel;
268 // Virtual event handlers, overide them in your derived class
269 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
270 virtual void OnTextAddress( wxCommandEvent& event ) { event.Skip(); }
271 virtual void OnButtonPaste( wxCommandEvent& event ) { event.Skip(); }
272 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
273 virtual void OnKillFocusAmount( wxFocusEvent& event ) { event.Skip(); }
274 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
275 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
280 CSendDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 498,157 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
285 ///////////////////////////////////////////////////////////////////////////////
286 /// Class CSendingDialogBase
287 ///////////////////////////////////////////////////////////////////////////////
288 class CSendingDialogBase : public wxDialog
293 wxStaticText* m_staticTextSending;
294 wxTextCtrl* m_textCtrlStatus;
296 wxButton* m_buttonOK;
297 wxButton* m_buttonCancel;
299 // Virtual event handlers, overide them in your derived class
300 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
301 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
302 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
303 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
308 CSendingDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sending..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 442,151 ), long style = wxDEFAULT_DIALOG_STYLE );
309 ~CSendingDialogBase();
313 ///////////////////////////////////////////////////////////////////////////////
314 /// Class CYourAddressDialogBase
315 ///////////////////////////////////////////////////////////////////////////////
316 class CYourAddressDialogBase : public wxDialog
322 wxStaticText* m_staticText45;
323 wxListCtrl* m_listCtrl;
325 wxButton* m_buttonRename;
326 wxButton* m_buttonNew;
327 wxButton* m_buttonCopy;
328 wxButton* m_buttonOK;
329 wxButton* m_buttonCancel;
331 // Virtual event handlers, overide them in your derived class
332 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
333 virtual void OnListEndLabelEdit( wxListEvent& event ) { event.Skip(); }
334 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
335 virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
336 virtual void OnButtonRename( wxCommandEvent& event ) { event.Skip(); }
337 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
338 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
339 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
340 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
345 CYourAddressDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Your Bitcoin Addresses"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
346 ~CYourAddressDialogBase();
350 ///////////////////////////////////////////////////////////////////////////////
351 /// Class CAddressBookDialogBase
352 ///////////////////////////////////////////////////////////////////////////////
353 class CAddressBookDialogBase : public wxDialog
358 wxNotebook* m_notebook;
359 wxPanel* m_panelSending;
361 wxStaticText* m_staticText55;
362 wxListCtrl* m_listCtrlSending;
363 wxPanel* m_panelReceiving;
365 wxStaticText* m_staticText45;
367 wxListCtrl* m_listCtrlReceiving;
369 wxButton* m_buttonDelete;
370 wxButton* m_buttonCopy;
371 wxButton* m_buttonEdit;
372 wxButton* m_buttonNew;
373 wxButton* m_buttonOK;
375 // Virtual event handlers, overide them in your derived class
376 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
377 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
378 virtual void OnListEndLabelEdit( wxListEvent& event ) { event.Skip(); }
379 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
380 virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
381 virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
382 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
383 virtual void OnButtonEdit( wxCommandEvent& event ) { event.Skip(); }
384 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
385 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
386 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
390 wxButton* m_buttonCancel;
392 CAddressBookDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
393 ~CAddressBookDialogBase();
397 ///////////////////////////////////////////////////////////////////////////////
398 /// Class CGetTextFromUserDialogBase
399 ///////////////////////////////////////////////////////////////////////////////
400 class CGetTextFromUserDialogBase : public wxDialog
406 wxStaticText* m_staticTextMessage1;
407 wxTextCtrl* m_textCtrl1;
408 wxStaticText* m_staticTextMessage2;
409 wxTextCtrl* m_textCtrl2;
412 wxButton* m_buttonOK;
413 wxButton* m_buttonCancel;
415 // Virtual event handlers, overide them in your derived class
416 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
417 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
418 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
419 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
424 CGetTextFromUserDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 440,138 ), long style = wxDEFAULT_DIALOG_STYLE );
425 ~CGetTextFromUserDialogBase();