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/scrolwin.h>
38 #include <wx/statbmp.h>
40 ///////////////////////////////////////////////////////////////////////////
42 #define wxID_MAINFRAME 1000
43 #define wxID_BUTTONSEND 1001
44 #define wxID_BUTTONRECEIVE 1002
45 #define wxID_TEXTCTRLADDRESS 1003
46 #define wxID_BUTTONNEW 1004
47 #define wxID_BUTTONCOPY 1005
48 #define wxID_PROXYIP 1006
49 #define wxID_PROXYPORT 1007
50 #define wxID_TRANSACTIONFEE 1008
51 #define wxID_TEXTCTRLPAYTO 1009
52 #define wxID_BUTTONPASTE 1010
53 #define wxID_BUTTONADDRESSBOOK 1011
54 #define wxID_TEXTCTRLAMOUNT 1012
55 #define wxID_CHOICETRANSFERTYPE 1013
56 #define wxID_LISTCTRL 1014
57 #define wxID_BUTTONRENAME 1015
58 #define wxID_PANELSENDING 1016
59 #define wxID_LISTCTRLSENDING 1017
60 #define wxID_PANELRECEIVING 1018
61 #define wxID_LISTCTRLRECEIVING 1019
62 #define wxID_BUTTONDELETE 1020
63 #define wxID_BUTTONEDIT 1021
64 #define wxID_TEXTCTRL 1022
66 ///////////////////////////////////////////////////////////////////////////////
67 /// Class CMainFrameBase
68 ///////////////////////////////////////////////////////////////////////////////
69 class CMainFrameBase : public wxFrame
79 wxStaticText* m_staticText32;
80 wxButton* m_buttonNew;
81 wxButton* m_buttonCopy;
83 wxStaticText* m_staticText41;
84 wxStaticText* m_staticTextBalance;
86 wxChoice* m_choiceFilter;
87 wxNotebook* m_notebook;
93 // Virtual event handlers, overide them in your derived class
94 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
95 virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
96 virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
97 virtual void OnMouseEvents( wxMouseEvent& event ) { event.Skip(); }
98 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
99 virtual void OnMenuFileExit( wxCommandEvent& event ) { event.Skip(); }
100 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ) { event.Skip(); }
101 virtual void OnMenuOptionsEncryptWallet( wxCommandEvent& event ) { event.Skip(); }
102 virtual void OnMenuOptionsChangeWalletPassphrase( wxCommandEvent& event ) { event.Skip(); }
103 virtual void OnMenuOptionsOptions( wxCommandEvent& event ) { event.Skip(); }
104 virtual void OnMenuHelpAbout( wxCommandEvent& event ) { event.Skip(); }
105 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
106 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
107 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
108 virtual void OnMouseEventsAddress( wxMouseEvent& event ) { event.Skip(); }
109 virtual void OnSetFocusAddress( wxFocusEvent& event ) { event.Skip(); }
110 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
111 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
112 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
113 virtual void OnListColBeginDrag( wxListEvent& event ) { event.Skip(); }
114 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
115 virtual void OnPaintListCtrl( wxPaintEvent& event ) { event.Skip(); }
119 wxMenu* m_menuOptions;
120 wxMenuItem* m_menuOptionsEncryptWallet;
121 wxMenuItem* m_menuOptionsChangeWalletPassphrase;
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_checkBoxStartOnSystemStartup;
169 wxCheckBox* m_checkBoxMinimizeToTray;
170 wxCheckBox* m_checkBoxUseUPnP;
171 wxCheckBox* m_checkBoxMinimizeOnClose;
172 wxCheckBox* m_checkBoxUseProxy;
174 wxStaticText* m_staticTextProxyIP;
175 wxTextCtrl* m_textCtrlProxyIP;
176 wxStaticText* m_staticTextProxyPort;
177 wxTextCtrl* m_textCtrlProxyPort;
179 wxStaticText* m_staticText32;
180 wxStaticText* m_staticText31;
181 wxTextCtrl* m_textCtrlTransactionFee;
182 wxPanel* m_panelTest2;
184 wxStaticText* m_staticText321;
185 wxStaticText* m_staticText69;
186 wxButton* m_buttonOK;
187 wxButton* m_buttonCancel;
188 wxButton* m_buttonApply;
190 // Virtual event handlers, overide them in your derived class
191 virtual void OnListBox( wxCommandEvent& event ) { event.Skip(); }
192 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ) { event.Skip(); }
193 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ) { event.Skip(); }
194 virtual void OnKillFocusProxy( wxFocusEvent& event ) { event.Skip(); }
195 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ) { event.Skip(); }
196 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
197 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
198 virtual void OnButtonApply( wxCommandEvent& event ) { event.Skip(); }
203 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 );
204 ~COptionsDialogBase();
208 ///////////////////////////////////////////////////////////////////////////////
209 /// Class CAboutDialogBase
210 ///////////////////////////////////////////////////////////////////////////////
211 class CAboutDialogBase : public wxDialog
216 wxStaticBitmap* m_bitmap;
218 wxStaticText* m_staticText40;
220 wxStaticText* m_staticTextMain;
223 wxButton* m_buttonOK;
225 // Virtual event handlers, overide them in your derived class
226 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
230 wxStaticText* m_staticTextVersion;
232 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 );
237 ///////////////////////////////////////////////////////////////////////////////
238 /// Class CSendDialogBase
239 ///////////////////////////////////////////////////////////////////////////////
240 class CSendDialogBase : public wxDialog
247 wxStaticText* m_staticTextInstructions;
249 wxStaticBitmap* m_bitmapCheckMark;
250 wxStaticText* m_staticText36;
251 wxTextCtrl* m_textCtrlAddress;
252 wxButton* m_buttonPaste;
253 wxButton* m_buttonAddress;
254 wxStaticText* m_staticText19;
255 wxTextCtrl* m_textCtrlAmount;
256 wxStaticText* m_staticText20;
257 wxChoice* m_choiceTransferType;
261 wxButton* m_buttonSend;
262 wxButton* m_buttonCancel;
264 // Virtual event handlers, overide them in your derived class
265 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
266 virtual void OnTextAddress( wxCommandEvent& event ) { event.Skip(); }
267 virtual void OnButtonPaste( wxCommandEvent& event ) { event.Skip(); }
268 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
269 virtual void OnKillFocusAmount( wxFocusEvent& event ) { event.Skip(); }
270 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
271 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
276 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 );
281 ///////////////////////////////////////////////////////////////////////////////
282 /// Class CSendingDialogBase
283 ///////////////////////////////////////////////////////////////////////////////
284 class CSendingDialogBase : public wxDialog
289 wxStaticText* m_staticTextSending;
290 wxTextCtrl* m_textCtrlStatus;
292 wxButton* m_buttonOK;
293 wxButton* m_buttonCancel;
295 // Virtual event handlers, overide them in your derived class
296 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
297 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
298 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
299 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
304 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 );
305 ~CSendingDialogBase();
309 ///////////////////////////////////////////////////////////////////////////////
310 /// Class CYourAddressDialogBase
311 ///////////////////////////////////////////////////////////////////////////////
312 class CYourAddressDialogBase : public wxDialog
318 wxStaticText* m_staticText45;
319 wxListCtrl* m_listCtrl;
321 wxButton* m_buttonRename;
322 wxButton* m_buttonNew;
323 wxButton* m_buttonCopy;
324 wxButton* m_buttonOK;
325 wxButton* m_buttonCancel;
327 // Virtual event handlers, overide them in your derived class
328 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
329 virtual void OnListEndLabelEdit( wxListEvent& event ) { event.Skip(); }
330 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
331 virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
332 virtual void OnButtonRename( wxCommandEvent& event ) { event.Skip(); }
333 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
334 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
335 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
336 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
341 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 );
342 ~CYourAddressDialogBase();
346 ///////////////////////////////////////////////////////////////////////////////
347 /// Class CAddressBookDialogBase
348 ///////////////////////////////////////////////////////////////////////////////
349 class CAddressBookDialogBase : public wxDialog
354 wxNotebook* m_notebook;
355 wxPanel* m_panelSending;
357 wxStaticText* m_staticText55;
358 wxListCtrl* m_listCtrlSending;
359 wxPanel* m_panelReceiving;
361 wxStaticText* m_staticText45;
363 wxListCtrl* m_listCtrlReceiving;
365 wxButton* m_buttonDelete;
366 wxButton* m_buttonCopy;
367 wxButton* m_buttonEdit;
368 wxButton* m_buttonNew;
369 wxButton* m_buttonOK;
371 // Virtual event handlers, overide them in your derived class
372 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
373 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
374 virtual void OnListEndLabelEdit( wxListEvent& event ) { event.Skip(); }
375 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
376 virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
377 virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
378 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
379 virtual void OnButtonEdit( wxCommandEvent& event ) { event.Skip(); }
380 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
381 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
382 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
386 wxButton* m_buttonCancel;
388 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 );
389 ~CAddressBookDialogBase();
393 ///////////////////////////////////////////////////////////////////////////////
394 /// Class CGetTextFromUserDialogBase
395 ///////////////////////////////////////////////////////////////////////////////
396 class CGetTextFromUserDialogBase : public wxDialog
402 wxStaticText* m_staticTextMessage1;
403 wxTextCtrl* m_textCtrl1;
404 wxStaticText* m_staticTextMessage2;
405 wxTextCtrl* m_textCtrl2;
408 wxButton* m_buttonOK;
409 wxButton* m_buttonCancel;
411 // Virtual event handlers, overide them in your derived class
412 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
413 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
414 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
415 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
420 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 );
421 ~CGetTextFromUserDialogBase();