X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed60b5022b9438672922d7879980ab7008c62fd6..2240c9edce3433f56a524ec273e3406f065def15:/src/mac/carbon/clipbrd.cpp diff --git a/src/mac/carbon/clipbrd.cpp b/src/mac/carbon/clipbrd.cpp index 651f6f4722..a85398f27f 100644 --- a/src/mac/carbon/clipbrd.cpp +++ b/src/mac/carbon/clipbrd.cpp @@ -131,7 +131,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len) * Generalized clipboard implementation by Matthew Flatt */ -IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxClipboardBase) +IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject) wxClipboard::wxClipboard() { @@ -220,9 +220,9 @@ bool wxClipboard::AddData( wxDataObject *data ) array[i].GetId().c_str() ); #if !TARGET_CARBON - OSErr err = noErr ; + OSErr err = noErr ; #else - OSStatus err = noErr ; + OSStatus err = noErr ; #endif switch ( array[i].GetType() ) @@ -252,7 +252,7 @@ bool wxClipboard::AddData( wxDataObject *data ) } #endif } - break; + break ; #if wxUSE_DRAG_AND_DROP case wxDF_METAFILE: @@ -274,7 +274,7 @@ bool wxClipboard::AddData( wxDataObject *data ) #endif HUnlock( (Handle) pict ) ; } - break; + break ; #endif case wxDF_BITMAP: case wxDF_DIB: @@ -389,6 +389,8 @@ bool wxClipboard::GetData( wxDataObject& data ) transferred = true ; } } + break ; + default : break ; }