1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Apr 16 2008)
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_TRANSACTIONFEE 1007
51 #define wxID_PROXYIP 1008
52 #define wxID_PROXYPORT 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
;
128 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
);
133 ///////////////////////////////////////////////////////////////////////////////
134 /// Class CTxDetailsDialogBase
135 ///////////////////////////////////////////////////////////////////////////////
136 class CTxDetailsDialogBase
: public wxDialog
141 wxHtmlWindow
* m_htmlWin
;
142 wxButton
* m_buttonOK
;
144 // Virtual event handlers, overide them in your derived class
145 virtual void OnButtonOK( wxCommandEvent
& event
){ event
.Skip(); }
149 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
);
150 ~CTxDetailsDialogBase();
154 ///////////////////////////////////////////////////////////////////////////////
155 /// Class COptionsDialogBase
156 ///////////////////////////////////////////////////////////////////////////////
157 class COptionsDialogBase
: public wxDialog
162 wxListBox
* m_listBox
;
163 wxScrolledWindow
* m_scrolledWindow
;
164 wxPanel
* m_panelMain
;
166 wxStaticText
* m_staticText32
;
167 wxStaticText
* m_staticText31
;
168 wxTextCtrl
* m_textCtrlTransactionFee
;
169 wxCheckBox
* m_checkBoxLimitProcessors
;
170 wxSpinCtrl
* m_spinCtrlLimitProcessors
;
171 wxStaticText
* m_staticText35
;
172 wxCheckBox
* m_checkBoxStartOnSystemStartup
;
173 wxCheckBox
* m_checkBoxMinimizeToTray
;
174 wxCheckBox
* m_checkBoxMinimizeOnClose
;
175 wxCheckBox
* m_checkBoxUseProxy
;
177 wxStaticText
* m_staticTextProxyIP
;
178 wxTextCtrl
* m_textCtrlProxyIP
;
179 wxStaticText
* m_staticTextProxyPort
;
180 wxTextCtrl
* m_textCtrlProxyPort
;
181 wxPanel
* m_panelTest2
;
183 wxStaticText
* m_staticText321
;
184 wxStaticText
* m_staticText69
;
185 wxButton
* m_buttonOK
;
186 wxButton
* m_buttonCancel
;
187 wxButton
* m_buttonApply
;
189 // Virtual event handlers, overide them in your derived class
190 virtual void OnListBox( wxCommandEvent
& event
){ event
.Skip(); }
191 virtual void OnKillFocusTransactionFee( wxFocusEvent
& event
){ event
.Skip(); }
192 virtual void OnCheckBoxLimitProcessors( wxCommandEvent
& event
){ event
.Skip(); }
193 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent
& event
){ event
.Skip(); }
194 virtual void OnCheckBoxUseProxy( wxCommandEvent
& event
){ event
.Skip(); }
195 virtual void OnKillFocusProxy( 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(); }
202 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
);
203 ~COptionsDialogBase();
207 ///////////////////////////////////////////////////////////////////////////////
208 /// Class CAboutDialogBase
209 ///////////////////////////////////////////////////////////////////////////////
210 class CAboutDialogBase
: public wxDialog
215 wxStaticBitmap
* m_bitmap
;
217 wxStaticText
* m_staticText40
;
219 wxStaticText
* m_staticTextMain
;
222 wxButton
* m_buttonOK
;
224 // Virtual event handlers, overide them in your derived class
225 virtual void OnButtonOK( wxCommandEvent
& event
){ event
.Skip(); }
229 wxStaticText
* m_staticTextVersion
;
230 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
);
235 ///////////////////////////////////////////////////////////////////////////////
236 /// Class CSendDialogBase
237 ///////////////////////////////////////////////////////////////////////////////
238 class CSendDialogBase
: public wxDialog
245 wxStaticText
* m_staticTextInstructions
;
247 wxStaticBitmap
* m_bitmapCheckMark
;
248 wxStaticText
* m_staticText36
;
249 wxTextCtrl
* m_textCtrlAddress
;
250 wxButton
* m_buttonPaste
;
251 wxButton
* m_buttonAddress
;
252 wxStaticText
* m_staticText19
;
253 wxTextCtrl
* m_textCtrlAmount
;
254 wxStaticText
* m_staticText20
;
255 wxChoice
* m_choiceTransferType
;
258 wxStaticText
* m_staticTextFrom
;
259 wxTextCtrl
* m_textCtrlFrom
;
260 wxStaticText
* m_staticTextMessage
;
261 wxTextCtrl
* m_textCtrlMessage
;
263 wxButton
* m_buttonSend
;
264 wxButton
* m_buttonCancel
;
266 // Virtual event handlers, overide them in your derived class
267 virtual void OnKeyDown( wxKeyEvent
& event
){ event
.Skip(); }
268 virtual void OnTextAddress( wxCommandEvent
& event
){ event
.Skip(); }
269 virtual void OnButtonPaste( wxCommandEvent
& event
){ event
.Skip(); }
270 virtual void OnButtonAddressBook( wxCommandEvent
& event
){ event
.Skip(); }
271 virtual void OnKillFocusAmount( wxFocusEvent
& event
){ event
.Skip(); }
272 virtual void OnButtonSend( wxCommandEvent
& event
){ event
.Skip(); }
273 virtual void OnButtonCancel( wxCommandEvent
& event
){ event
.Skip(); }
277 CSendDialogBase( wxWindow
* parent
, wxWindowID id
= wxID_ANY
, const wxString
& title
= _("Send Coins"), const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxSize( 675,298 ), long style
= wxDEFAULT_DIALOG_STYLE
|wxRESIZE_BORDER
);
282 ///////////////////////////////////////////////////////////////////////////////
283 /// Class CSendingDialogBase
284 ///////////////////////////////////////////////////////////////////////////////
285 class CSendingDialogBase
: public wxDialog
290 wxStaticText
* m_staticTextSending
;
291 wxTextCtrl
* m_textCtrlStatus
;
293 wxButton
* m_buttonOK
;
294 wxButton
* m_buttonCancel
;
296 // Virtual event handlers, overide them in your derived class
297 virtual void OnClose( wxCloseEvent
& event
){ event
.Skip(); }
298 virtual void OnPaint( wxPaintEvent
& event
){ event
.Skip(); }
299 virtual void OnButtonOK( wxCommandEvent
& event
){ event
.Skip(); }
300 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(); }
340 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
);
341 ~CYourAddressDialogBase();
345 ///////////////////////////////////////////////////////////////////////////////
346 /// Class CAddressBookDialogBase
347 ///////////////////////////////////////////////////////////////////////////////
348 class CAddressBookDialogBase
: public wxDialog
353 wxNotebook
* m_notebook
;
354 wxPanel
* m_panelSending
;
356 wxStaticText
* m_staticText55
;
357 wxListCtrl
* m_listCtrlSending
;
358 wxPanel
* m_panelReceiving
;
360 wxStaticText
* m_staticText45
;
362 wxListCtrl
* m_listCtrlReceiving
;
364 wxButton
* m_buttonDelete
;
365 wxButton
* m_buttonCopy
;
366 wxButton
* m_buttonEdit
;
367 wxButton
* m_buttonNew
;
368 wxButton
* m_buttonOK
;
370 // Virtual event handlers, overide them in your derived class
371 virtual void OnClose( wxCloseEvent
& event
){ event
.Skip(); }
372 virtual void OnNotebookPageChanged( wxNotebookEvent
& event
){ event
.Skip(); }
373 virtual void OnListEndLabelEdit( wxListEvent
& event
){ event
.Skip(); }
374 virtual void OnListItemActivated( wxListEvent
& event
){ event
.Skip(); }
375 virtual void OnListItemSelected( wxListEvent
& event
){ event
.Skip(); }
376 virtual void OnButtonDelete( wxCommandEvent
& event
){ event
.Skip(); }
377 virtual void OnButtonCopy( wxCommandEvent
& event
){ event
.Skip(); }
378 virtual void OnButtonEdit( wxCommandEvent
& event
){ event
.Skip(); }
379 virtual void OnButtonNew( wxCommandEvent
& event
){ event
.Skip(); }
380 virtual void OnButtonOK( wxCommandEvent
& event
){ event
.Skip(); }
381 virtual void OnButtonCancel( wxCommandEvent
& event
){ event
.Skip(); }
385 wxButton
* m_buttonCancel
;
386 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
);
387 ~CAddressBookDialogBase();
391 ///////////////////////////////////////////////////////////////////////////////
392 /// Class CGetTextFromUserDialogBase
393 ///////////////////////////////////////////////////////////////////////////////
394 class CGetTextFromUserDialogBase
: public wxDialog
400 wxStaticText
* m_staticTextMessage1
;
401 wxTextCtrl
* m_textCtrl1
;
402 wxStaticText
* m_staticTextMessage2
;
403 wxTextCtrl
* m_textCtrl2
;
406 wxButton
* m_buttonOK
;
407 wxButton
* m_buttonCancel
;
409 // Virtual event handlers, overide them in your derived class
410 virtual void OnClose( wxCloseEvent
& event
){ event
.Skip(); }
411 virtual void OnKeyDown( wxKeyEvent
& event
){ event
.Skip(); }
412 virtual void OnButtonOK( wxCommandEvent
& event
){ event
.Skip(); }
413 virtual void OnButtonCancel( wxCommandEvent
& event
){ event
.Skip(); }
417 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
);
418 ~CGetTextFromUserDialogBase();