1 #ifndef GUI_WIDGETS_WX___PREVIEW_SETUP_DLG_WX__HPP
2 #define GUI_WIDGETS_WX___PREVIEW_SETUP_DLG_WX__HPP
43 #include <wx/dialog.h>
44 #include <wx/cmndata.h>
45 #include <wx/prntbase.h>
46 #include <wx/printdlg.h>
47 #include <wx/listctrl.h>
56 class wxPageSetupData;
68 ePageCountSliderID = wxID_HIGHEST + 100,
100 bool add_preview_button,
101 wxWindow *parent =
NULL);
105 virtual bool TransferDataFromWindow();
106 virtual bool TransferDataToWindow();
109 void SetZoomBehavior(
bool zoomx,
bool zoomy);
110 bool GetZoomX()
const;
111 bool GetZoomY()
const;
115 virtual void OnPrinter(wxCommandEvent& event);
116 virtual void OnScroll(wxScrollEvent& event);
117 virtual void OnMultiPage(wxCommandEvent& event);
118 virtual void OnGuides(wxCommandEvent& event);
124 virtual void UpdateMargins();
141 virtual void x_Init(wxBoxSizer* ,
int ) {}
154 DECLARE_EVENT_TABLE()
wxPageSetupDialogData m_psdd
wxButton * m_PrinterButton
wxRadioBox * m_MultiPageRadioBox
wxStaticText * m_PageCount
wxSlider * m_PageCountSlider
CGlPreviewSetupWidget * m_PreviewSetupWidget
virtual void x_Init(wxBoxSizer *, int)
Provide virtual hook for subclasses to add their own controls below the main controls.
virtual wxPageSetupDialogData & GetPageSetupDialogData()
Required as a subclass of wxPageSetupDialogBase.
wxRadioBox * m_GuidesRadioBox
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
Defines to provide correct exporting from DLLs in Windows.