X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..992527a5738f7fb629d2aaeee64cfc733ddb7e1c:/include/wx/generic/prntdlgg.h?ds=sidebyside diff --git a/include/wx/generic/prntdlgg.h b/include/wx/generic/prntdlgg.h index 58326a231d..41b4da8dd5 100644 --- a/include/wx/generic/prntdlgg.h +++ b/include/wx/generic/prntdlgg.h @@ -13,10 +13,6 @@ #ifndef __PRINTDLGH_G_ #define __PRINTDLGH_G_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "prntdlgg.h" -#endif - #include "wx/defs.h" #if wxUSE_PRINTING_ARCHITECTURE @@ -90,7 +86,8 @@ public: virtual bool TransferTo( wxPrintData &data ); virtual bool TransferFrom( const wxPrintData &data ); - virtual bool Ok() const { return true; } + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const { return true; } const wxString& GetPrinterCommand() const { return m_printerCommand; } const wxString& GetPrinterOptions() const { return m_printerOptions; }