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() {