Bitcoin v0.2.0 · 2009-12-16
uibase.h
1///////////////////////////////////////////////////////////////////////////2// C++ code generated with wxFormBuilder (version Apr 16 2008)3// http://www.wxformbuilder.org/4//5// PLEASE DO "NOT" EDIT THIS FILE!6///////////////////////////////////////////////////////////////////////////78#ifndef __uibase__9#define __uibase__1011#include <wx/string.h>12#include <wx/bitmap.h>13#include <wx/image.h>14#include <wx/icon.h>15#include <wx/menu.h>16#include <wx/gdicmn.h>17#include <wx/font.h>18#include <wx/colour.h>19#include <wx/settings.h>20#include <wx/toolbar.h>21#include <wx/statusbr.h>22#include <wx/stattext.h>23#include <wx/textctrl.h>24#include <wx/button.h>25#include <wx/sizer.h>26#include <wx/panel.h>27#include <wx/choice.h>28#include <wx/listctrl.h>29#include <wx/notebook.h>30#include <wx/frame.h>31#include <wx/html/htmlwin.h>32#include <wx/dialog.h>33#include <wx/listbox.h>34#include <wx/checkbox.h>35#include <wx/spinctrl.h>36#include <wx/scrolwin.h>37#include <wx/statbmp.h>38#include <wx/combobox.h>39#include <wx/richtext/richtextctrl.h>4041///////////////////////////////////////////////////////////////////////////4243#define wxID_MAINFRAME 100044#define wxID_VIEWSHOWGENERATED 100145#define wxID_OPTIONSGENERATEBITCOINS 100246#define wxID_MENUOPTIONSOPTIONS 100347#define wxID_BUTTONSEND 100448#define wxID_BUTTONRECEIVE 100549#define wxID_TEXTCTRLADDRESS 100650#define wxID_BUTTONCOPY 100751#define wxID_BUTTONCHANGE 100852#define wxID_TRANSACTIONFEE 100953#define wxID_PROXYIP 101054#define wxID_PROXYPORT 101155#define wxID_TEXTCTRLPAYTO 101256#define wxID_BUTTONPASTE 101357#define wxID_BUTTONADDRESSBOOK 101458#define wxID_TEXTCTRLAMOUNT 101559#define wxID_CHOICETRANSFERTYPE 101660#define wxID_LISTCTRL 101761#define wxID_BUTTONRENAME 101862#define wxID_BUTTONNEW 101963#define wxID_BUTTONEDIT 102064#define wxID_BUTTONDELETE 102165#define wxID_DEL0 102266#define wxID_DEL1 102367#define wxID_DEL2 102468#define wxID_DEL3 102569#define wxID_DEL4 102670#define wxID_DEL5 102771#define wxID_DEL6 102872#define wxID_DEL7 102973#define wxID_DEL8 103074#define wxID_DEL9 103175#define wxID_DEL10 103276#define wxID_DEL11 103377#define wxID_DEL12 103478#define wxID_DEL13 103579#define wxID_DEL14 103680#define wxID_DEL15 103781#define wxID_DEL16 103882#define wxID_DEL17 103983#define wxID_DEL18 104084#define wxID_DEL19 104185#define wxID_BUTTONPREVIEW 104286#define wxID_BUTTONSAMPLE 104387#define wxID_CANCEL2 104488#define wxID_BUTTONBACK 104589#define wxID_BUTTONNEXT 104690#define wxID_SUBMIT 104791#define wxID_TEXTCTRL 10489293///////////////////////////////////////////////////////////////////////////////94/// Class CMainFrameBase95///////////////////////////////////////////////////////////////////////////////96class CMainFrameBase : public wxFrame 97{98 private:99 100 protected:101 wxMenuBar* m_menubar;102 wxMenu* m_menuFile;103 wxMenu* m_menuView;104 wxMenu* m_menuHelp;105 wxToolBar* m_toolBar;106 wxStatusBar* m_statusBar;107 108 wxStaticText* m_staticText32;109 wxTextCtrl* m_textCtrlAddress;110 wxButton* m_buttonCopy;111 wxButton* m_button91;112 113 wxPanel* m_panel14;114 wxStaticText* m_staticText41;115 wxStaticText* m_staticTextBalance;116 117 wxChoice* m_choiceFilter;118 wxNotebook* m_notebook;119 wxPanel* m_panel7;120 wxPanel* m_panel9;121 wxPanel* m_panel8;122 wxPanel* m_panel10;123 wxPanel* m_panel11;124 125 // Virtual event handlers, overide them in your derived class126 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }127 virtual void OnIconize( wxIconizeEvent& event ){ event.Skip(); }128 virtual void OnIdle( wxIdleEvent& event ){ event.Skip(); }129 virtual void OnMouseEvents( wxMouseEvent& event ){ event.Skip(); }130 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }131 virtual void OnMenuFileExit( wxCommandEvent& event ){ event.Skip(); }132 virtual void OnMenuViewShowGenerated( wxCommandEvent& event ){ event.Skip(); }133 virtual void OnUpdateUIViewShowGenerated( wxUpdateUIEvent& event ){ event.Skip(); }134 virtual void OnMenuOptionsGenerate( wxCommandEvent& event ){ event.Skip(); }135 virtual void OnUpdateUIOptionsGenerate( wxUpdateUIEvent& event ){ event.Skip(); }136 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ){ event.Skip(); }137 virtual void OnMenuOptionsOptions( wxCommandEvent& event ){ event.Skip(); }138 virtual void OnMenuHelpAbout( wxCommandEvent& event ){ event.Skip(); }139 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }140 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }141 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }142 virtual void OnMouseEventsAddress( wxMouseEvent& event ){ event.Skip(); }143 virtual void OnSetFocusAddress( wxFocusEvent& event ){ event.Skip(); }144 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }145 virtual void OnButtonChange( wxCommandEvent& event ){ event.Skip(); }146 virtual void OnListColBeginDrag( wxListEvent& event ){ event.Skip(); }147 virtual void OnListItemActivatedAllTransactions( wxListEvent& event ){ event.Skip(); }148 virtual void OnPaintListCtrl( wxPaintEvent& event ){ event.Skip(); }149 virtual void OnListItemActivatedOrdersSent( wxListEvent& event ){ event.Skip(); }150 virtual void OnListItemActivatedProductsSent( wxListEvent& event ){ event.Skip(); }151 virtual void OnListItemActivatedOrdersReceived( wxListEvent& event ){ event.Skip(); }152 153 154 public:155 wxMenu* m_menuOptions;156 wxListCtrl* m_listCtrl;157 wxListCtrl* m_listCtrlEscrows;158 wxListCtrl* m_listCtrlOrdersSent;159 wxListCtrl* m_listCtrlProductsSent;160 wxListCtrl* m_listCtrlOrdersReceived;161 CMainFrameBase( wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = wxT("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 705,484 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );162 ~CMainFrameBase();163 164};165166///////////////////////////////////////////////////////////////////////////////167/// Class CTxDetailsDialogBase168///////////////////////////////////////////////////////////////////////////////169class CTxDetailsDialogBase : public wxDialog 170{171 private:172 173 protected:174 wxHtmlWindow* m_htmlWin;175 wxButton* m_buttonOK;176 177 // Virtual event handlers, overide them in your derived class178 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }179 180 181 public:182 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 );183 ~CTxDetailsDialogBase();184 185};186187///////////////////////////////////////////////////////////////////////////////188/// Class COptionsDialogBase189///////////////////////////////////////////////////////////////////////////////190class COptionsDialogBase : public wxDialog 191{192 private:193 194 protected:195 wxListBox* m_listBox;196 wxScrolledWindow* m_scrolledWindow;197 wxPanel* m_panelMain;198 199 wxStaticText* m_staticText32;200 wxStaticText* m_staticText31;201 wxTextCtrl* m_textCtrlTransactionFee;202 wxCheckBox* m_checkBoxLimitProcessors;203 wxSpinCtrl* m_spinCtrlLimitProcessors;204 wxStaticText* m_staticText35;205 wxCheckBox* m_checkBoxStartOnSystemStartup;206 wxCheckBox* m_checkBoxMinimizeToTray;207 wxCheckBox* m_checkBoxMinimizeOnClose;208 wxCheckBox* m_checkBoxUseProxy;209 210 wxStaticText* m_staticTextProxyIP;211 wxTextCtrl* m_textCtrlProxyIP;212 wxStaticText* m_staticTextProxyPort;213 wxTextCtrl* m_textCtrlProxyPort;214 wxPanel* m_panelTest2;215 216 wxStaticText* m_staticText321;217 wxStaticText* m_staticText69;218 wxStaticText* m_staticText70;219 wxStaticText* m_staticText71;220 wxButton* m_buttonOK;221 wxButton* m_buttonCancel;222 wxButton* m_buttonApply;223 224 // Virtual event handlers, overide them in your derived class225 virtual void OnListBox( wxCommandEvent& event ){ event.Skip(); }226 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ){ event.Skip(); }227 virtual void OnCheckBoxLimitProcessors( wxCommandEvent& event ){ event.Skip(); }228 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ){ event.Skip(); }229 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ){ event.Skip(); }230 virtual void OnKillFocusProxy( wxFocusEvent& event ){ event.Skip(); }231 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }232 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }233 virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }234 235 236 public:237 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 );238 ~COptionsDialogBase();239 240};241242///////////////////////////////////////////////////////////////////////////////243/// Class CAboutDialogBase244///////////////////////////////////////////////////////////////////////////////245class CAboutDialogBase : public wxDialog 246{247 private:248 249 protected:250 251 252 wxStaticText* m_staticText40;253 254 wxStaticText* m_staticTextMain;255 256 257 wxButton* m_buttonOK;258 259 // Virtual event handlers, overide them in your derived class260 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }261 262 263 public:264 wxStaticText* m_staticTextVersion;265 CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 507,298 ), long style = wxDEFAULT_DIALOG_STYLE );266 ~CAboutDialogBase();267 268};269270///////////////////////////////////////////////////////////////////////////////271/// Class CSendDialogBase272///////////////////////////////////////////////////////////////////////////////273class CSendDialogBase : public wxDialog 274{275 private:276 277 protected:278 279 280 wxStaticText* m_staticTextInstructions;281 282 wxStaticBitmap* m_bitmapCheckMark;283 wxStaticText* m_staticText36;284 wxTextCtrl* m_textCtrlAddress;285 wxButton* m_buttonPaste;286 wxButton* m_buttonAddress;287 wxStaticText* m_staticText19;288 wxTextCtrl* m_textCtrlAmount;289 wxStaticText* m_staticText20;290 wxChoice* m_choiceTransferType;291 292 293 wxStaticText* m_staticTextFrom;294 wxTextCtrl* m_textCtrlFrom;295 wxStaticText* m_staticTextMessage;296 wxTextCtrl* m_textCtrlMessage;297 298 wxButton* m_buttonSend;299 wxButton* m_buttonCancel;300 301 // Virtual event handlers, overide them in your derived class302 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }303 virtual void OnTextAddress( wxCommandEvent& event ){ event.Skip(); }304 virtual void OnButtonPaste( wxCommandEvent& event ){ event.Skip(); }305 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }306 virtual void OnKillFocusAmount( wxFocusEvent& event ){ event.Skip(); }307 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }308 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }309 310 311 public:312 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 );313 ~CSendDialogBase();314 315};316317///////////////////////////////////////////////////////////////////////////////318/// Class CSendingDialogBase319///////////////////////////////////////////////////////////////////////////////320class CSendingDialogBase : public wxDialog 321{322 private:323 324 protected:325 wxStaticText* m_staticTextSending;326 wxTextCtrl* m_textCtrlStatus;327 328 wxButton* m_buttonOK;329 wxButton* m_buttonCancel;330 331 // Virtual event handlers, overide them in your derived class332 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }333 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }334 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }335 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }336 337 338 public:339 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 );340 ~CSendingDialogBase();341 342};343344///////////////////////////////////////////////////////////////////////////////345/// Class CYourAddressDialogBase346///////////////////////////////////////////////////////////////////////////////347class CYourAddressDialogBase : public wxDialog 348{349 private:350 351 protected:352 353 wxStaticText* m_staticText45;354 wxListCtrl* m_listCtrl;355 356 wxButton* m_buttonRename;357 wxButton* m_buttonNew;358 wxButton* m_buttonCopy;359 wxButton* m_buttonOK;360 wxButton* m_buttonCancel;361 362 // Virtual event handlers, overide them in your derived class363 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }364 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }365 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }366 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }367 virtual void OnButtonRename( wxCommandEvent& event ){ event.Skip(); }368 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }369 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }370 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }371 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }372 373 374 public:375 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 );376 ~CYourAddressDialogBase();377 378};379380///////////////////////////////////////////////////////////////////////////////381/// Class CAddressBookDialogBase382///////////////////////////////////////////////////////////////////////////////383class CAddressBookDialogBase : public wxDialog 384{385 private:386 387 protected:388 389 wxStaticText* m_staticText55;390 wxListCtrl* m_listCtrl;391 392 wxButton* m_buttonEdit;393 wxButton* m_buttonNew;394 wxButton* m_buttonDelete;395 wxButton* m_buttonOK;396 397 // Virtual event handlers, overide them in your derived class398 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }399 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }400 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }401 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }402 virtual void OnButtonEdit( wxCommandEvent& event ){ event.Skip(); }403 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }404 virtual void OnButtonDelete( wxCommandEvent& event ){ event.Skip(); }405 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }406 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }407 408 409 public:410 wxButton* m_buttonCancel;411 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 );412 ~CAddressBookDialogBase();413 414};415416///////////////////////////////////////////////////////////////////////////////417/// Class CProductsDialogBase418///////////////////////////////////////////////////////////////////////////////419class CProductsDialogBase : public wxDialog 420{421 private:422 423 protected:424 wxComboBox* m_comboBoxCategory;425 wxTextCtrl* m_textCtrlSearch;426 wxButton* m_buttonSearch;427 wxListCtrl* m_listCtrl;428 429 // Virtual event handlers, overide them in your derived class430 virtual void OnCombobox( wxCommandEvent& event ){ event.Skip(); }431 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }432 virtual void OnButtonSearch( wxCommandEvent& event ){ event.Skip(); }433 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }434 435 436 public:437 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 );438 ~CProductsDialogBase();439 440};441442///////////////////////////////////////////////////////////////////////////////443/// Class CEditProductDialogBase444///////////////////////////////////////////////////////////////////////////////445class CEditProductDialogBase : public wxFrame 446{447 private:448 449 protected:450 wxScrolledWindow* m_scrolledWindow;451 wxStaticText* m_staticText106;452 wxComboBox* m_comboBoxCategory;453 wxStaticText* m_staticText108;454 wxTextCtrl* m_textCtrlTitle;455 wxStaticText* m_staticText107;456 wxTextCtrl* m_textCtrlPrice;457 wxStaticText* m_staticText22;458 wxTextCtrl* m_textCtrlDescription;459 wxStaticText* m_staticText23;460 wxTextCtrl* m_textCtrlInstructions;461 wxStaticText* m_staticText24;462 wxStaticText* m_staticText25;463 464 wxTextCtrl* m_textCtrlLabel0;465 wxTextCtrl* m_textCtrlField0;466 wxButton* m_buttonDel0;467 wxTextCtrl* m_textCtrlLabel1;468 wxTextCtrl* m_textCtrlField1;469 wxButton* m_buttonDel1;470 wxTextCtrl* m_textCtrlLabel2;471 wxTextCtrl* m_textCtrlField2;472 wxButton* m_buttonDel2;473 wxTextCtrl* m_textCtrlLabel3;474 wxTextCtrl* m_textCtrlField3;475 wxButton* m_buttonDel3;476 wxTextCtrl* m_textCtrlLabel4;477 wxTextCtrl* m_textCtrlField4;478 wxButton* m_buttonDel4;479 wxTextCtrl* m_textCtrlLabel5;480 wxTextCtrl* m_textCtrlField5;481 wxButton* m_buttonDel5;482 wxTextCtrl* m_textCtrlLabel6;483 wxTextCtrl* m_textCtrlField6;484 wxButton* m_buttonDel6;485 wxTextCtrl* m_textCtrlLabel7;486 wxTextCtrl* m_textCtrlField7;487 wxButton* m_buttonDel7;488 wxTextCtrl* m_textCtrlLabel8;489 wxTextCtrl* m_textCtrlField8;490 wxButton* m_buttonDel8;491 wxTextCtrl* m_textCtrlLabel9;492 wxTextCtrl* m_textCtrlField9;493 wxButton* m_buttonDel9;494 wxTextCtrl* m_textCtrlLabel10;495 wxTextCtrl* m_textCtrlField10;496 wxButton* m_buttonDel10;497 wxTextCtrl* m_textCtrlLabel11;498 wxTextCtrl* m_textCtrlField11;499 wxButton* m_buttonDel11;500 wxTextCtrl* m_textCtrlLabel12;501 wxTextCtrl* m_textCtrlField12;502 wxButton* m_buttonDel12;503 wxTextCtrl* m_textCtrlLabel13;504 wxTextCtrl* m_textCtrlField13;505 wxButton* m_buttonDel13;506 wxTextCtrl* m_textCtrlLabel14;507 wxTextCtrl* m_textCtrlField14;508 wxButton* m_buttonDel14;509 wxTextCtrl* m_textCtrlLabel15;510 wxTextCtrl* m_textCtrlField15;511 wxButton* m_buttonDel15;512 wxTextCtrl* m_textCtrlLabel16;513 wxTextCtrl* m_textCtrlField16;514 wxButton* m_buttonDel16;515 wxTextCtrl* m_textCtrlLabel17;516 wxTextCtrl* m_textCtrlField17;517 wxButton* m_buttonDel17;518 wxTextCtrl* m_textCtrlLabel18;519 wxTextCtrl* m_textCtrlField18;520 wxButton* m_buttonDel18;521 wxTextCtrl* m_textCtrlLabel19;522 wxTextCtrl* m_textCtrlField19;523 wxButton* m_buttonDel19;524 wxButton* m_buttonAddField;525 wxButton* m_buttonOK;526 wxButton* m_buttonPreview;527 wxButton* m_buttonCancel;528 529 // Virtual event handlers, overide them in your derived class530 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }531 virtual void OnButtonDel0( wxCommandEvent& event ){ event.Skip(); }532 virtual void OnButtonDel1( wxCommandEvent& event ){ event.Skip(); }533 virtual void OnButtonDel2( wxCommandEvent& event ){ event.Skip(); }534 virtual void OnButtonDel3( wxCommandEvent& event ){ event.Skip(); }535 virtual void OnButtonDel4( wxCommandEvent& event ){ event.Skip(); }536 virtual void OnButtonDel5( wxCommandEvent& event ){ event.Skip(); }537 virtual void OnButtonDel6( wxCommandEvent& event ){ event.Skip(); }538 virtual void OnButtonDel7( wxCommandEvent& event ){ event.Skip(); }539 virtual void OnButtonDel8( wxCommandEvent& event ){ event.Skip(); }540 virtual void OnButtonDel9( wxCommandEvent& event ){ event.Skip(); }541 virtual void OnButtonDel10( wxCommandEvent& event ){ event.Skip(); }542 virtual void OnButtonDel11( wxCommandEvent& event ){ event.Skip(); }543 virtual void OnButtonDel12( wxCommandEvent& event ){ event.Skip(); }544 virtual void OnButtonDel13( wxCommandEvent& event ){ event.Skip(); }545 virtual void OnButtonDel14( wxCommandEvent& event ){ event.Skip(); }546 virtual void OnButtonDel15( wxCommandEvent& event ){ event.Skip(); }547 virtual void OnButtonDel16( wxCommandEvent& event ){ event.Skip(); }548 virtual void OnButtonDel17( wxCommandEvent& event ){ event.Skip(); }549 virtual void OnButtonDel18( wxCommandEvent& event ){ event.Skip(); }550 virtual void OnButtonDel19( wxCommandEvent& event ){ event.Skip(); }551 virtual void OnButtonAddField( wxCommandEvent& event ){ event.Skip(); }552 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }553 virtual void OnButtonPreview( wxCommandEvent& event ){ event.Skip(); }554 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }555 556 557 public:558 wxFlexGridSizer* fgSizer5;559 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 );560 ~CEditProductDialogBase();561 562};563564///////////////////////////////////////////////////////////////////////////////565/// Class CViewProductDialogBase566///////////////////////////////////////////////////////////////////////////////567class CViewProductDialogBase : public wxFrame 568{569 private:570 571 protected:572 wxHtmlWindow* m_htmlWinReviews;573 wxScrolledWindow* m_scrolledWindow;574 wxRichTextCtrl* m_richTextHeading;575 wxStaticText* m_staticTextInstructions;576 wxButton* m_buttonSubmitForm;577 wxButton* m_buttonCancelForm;578 wxButton* m_buttonBack;579 wxButton* m_buttonNext;580 wxButton* m_buttonCancel;581 582 // Virtual event handlers, overide them in your derived class583 virtual void OnButtonSubmitForm( wxCommandEvent& event ){ event.Skip(); }584 virtual void OnButtonCancelForm( wxCommandEvent& event ){ event.Skip(); }585 virtual void OnButtonBack( wxCommandEvent& event ){ event.Skip(); }586 virtual void OnButtonNext( wxCommandEvent& event ){ event.Skip(); }587 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }588 589 590 public:591 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 );592 ~CViewProductDialogBase();593 594};595596///////////////////////////////////////////////////////////////////////////////597/// Class CViewOrderDialogBase598///////////////////////////////////////////////////////////////////////////////599class CViewOrderDialogBase : public wxFrame 600{601 private:602 603 protected:604 wxHtmlWindow* m_htmlWin;605 wxButton* m_buttonOK;606 607 // Virtual event handlers, overide them in your derived class608 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }609 610 611 public:612 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 );613 ~CViewOrderDialogBase();614 615};616617///////////////////////////////////////////////////////////////////////////////618/// Class CEditReviewDialogBase619///////////////////////////////////////////////////////////////////////////////620class CEditReviewDialogBase : public wxFrame 621{622 private:623 624 protected:625 626 wxStaticText* m_staticTextSeller;627 628 wxStaticText* m_staticText110;629 wxChoice* m_choiceStars;630 wxStaticText* m_staticText43;631 wxTextCtrl* m_textCtrlReview;632 wxButton* m_buttonSubmit;633 wxButton* m_buttonCancel;634 635 // Virtual event handlers, overide them in your derived class636 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }637 virtual void OnButtonSubmit( wxCommandEvent& event ){ event.Skip(); }638 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }639 640 641 public:642 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 );643 ~CEditReviewDialogBase();644 645};646647///////////////////////////////////////////////////////////////////////////////648/// Class CGetTextFromUserDialogBase649///////////////////////////////////////////////////////////////////////////////650class CGetTextFromUserDialogBase : public wxDialog 651{652 private:653 654 protected:655 656 wxStaticText* m_staticTextMessage1;657 wxTextCtrl* m_textCtrl1;658 wxStaticText* m_staticTextMessage2;659 wxTextCtrl* m_textCtrl2;660 661 662 wxButton* m_buttonOK;663 wxButton* m_buttonCancel;664 665 // Virtual event handlers, overide them in your derived class666 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }667 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }668 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }669 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }670 671 672 public:673 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 );674 ~CGetTextFromUserDialogBase();675 676};677678#endif //__uibase__
Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.
