From: Robert Roebling Date: Wed, 5 Sep 2007 19:26:46 +0000 (+0000) Subject: Make wxGnomePrintModule public so that wxGtkPrintModule knows about it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ff62f51baee47e65e179fb69157e0f0ffd533a5?ds=sidebyside Make wxGnomePrintModule public so that wxGtkPrintModule knows about it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/gnome/gprint.h b/include/wx/gtk/gnome/gprint.h index d2d1ee6948..e49838e62e 100644 --- a/include/wx/gtk/gnome/gprint.h +++ b/include/wx/gtk/gnome/gprint.h @@ -18,11 +18,27 @@ #include "wx/print.h" #include "wx/printdlg.h" #include "wx/dc.h" +#include "wx/module.h" typedef struct _GnomePrintJob GnomePrintJob; typedef struct _GnomePrintContext GnomePrintContext; typedef struct _GnomePrintConfig GnomePrintConfig; +// ---------------------------------------------------------------------------- +// wxGnomePrintModule +// ---------------------------------------------------------------------------- + +class wxGnomePrintModule: public wxModule +{ +public: + wxGnomePrintModule() {} + bool OnInit(); + void OnExit(); + +private: + DECLARE_DYNAMIC_CLASS(wxGnomePrintModule) +}; + //---------------------------------------------------------------------------- // wxGnomePrintNativeData //---------------------------------------------------------------------------- diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index e3c8fffb0d..e1230211fc 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -1972,17 +1972,9 @@ int wxGnomePrintDC::GetResolution() return 72; } - -class wxGnomePrintModule: public wxModule -{ -public: - wxGnomePrintModule() {} - bool OnInit(); - void OnExit(); - -private: - DECLARE_DYNAMIC_CLASS(wxGnomePrintModule) -}; +// ---------------------------------------------------------------------------- +// wxGnomePrintModule +// ---------------------------------------------------------------------------- bool wxGnomePrintModule::OnInit() {