X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/palmos/clipbrd.cpp?ds=sidebyside diff --git a/src/palmos/clipbrd.cpp b/src/palmos/clipbrd.cpp index c732ccdc9a..4987714026 100644 --- a/src/palmos/clipbrd.cpp +++ b/src/palmos/clipbrd.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "clipbrd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,12 +24,10 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/setup.h" -#endif - #if wxUSE_CLIPBOARD +#include "wx/clipbrd.h" + #ifndef WX_PRECOMP #include "wx/object.h" #include "wx/event.h" @@ -42,25 +36,20 @@ #include "wx/bitmap.h" #include "wx/utils.h" #include "wx/intl.h" + #include "wx/log.h" + #include "wx/dataobj.h" #endif #if wxUSE_METAFILE #include "wx/metafile.h" #endif -#include "wx/log.h" -#include "wx/clipbrd.h" - #include #include "wx/palmos/private.h" #if wxUSE_WXDIB -#include "wx/palmos/dib.h" -#endif - -#if wxUSE_DATAOBJ - #include "wx/dataobj.h" + #include "wx/palmos/dib.h" #endif #if wxUSE_OLE && !defined(__WXWINCE__) @@ -83,7 +72,7 @@ // old-style clipboard functions // --------------------------------------------------------------------------- -static bool gs_wxClipboardIsOpen = FALSE; +static bool gs_wxClipboardIsOpen = false; bool wxOpenClipboard() { @@ -150,8 +139,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject) wxClipboard::wxClipboard() { - m_clearOnExit = FALSE; - m_isOpened = FALSE; + m_clearOnExit = false; + m_isOpened = false; } wxClipboard::~wxClipboard() @@ -207,4 +196,3 @@ bool wxClipboard::GetData( wxDataObject& data ) } #endif // wxUSE_CLIPBOARD -