X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed60b5022b9438672922d7879980ab7008c62fd6..16e8bf31bb4ba1f6374ea86f1ef1dcb1872fda69:/src/mac/clipbrd.cpp diff --git a/src/mac/clipbrd.cpp b/src/mac/clipbrd.cpp index 651f6f4722..354d3d2aec 100644 --- a/src/mac/clipbrd.cpp +++ b/src/mac/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() { @@ -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 ; }