X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59e034c0343ccbc71f61c03762f73832a62cf532..d1b20379e45636461e4aa45e5263fb3d9a4956a8:/src/motif/icon.cpp diff --git a/src/motif/icon.cpp b/src/motif/icon.cpp index 54edd5f3cb..692175a812 100644 --- a/src/motif/icon.cpp +++ b/src/motif/icon.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "icon.h" #endif @@ -42,13 +42,6 @@ wxIcon::wxIcon(const char **data) (void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0); } -wxIcon::wxIcon(const wxString& icon_file, wxBitmapType type, - int desiredWidth, int desiredHeight) - -{ - LoadFile(icon_file, type, desiredWidth, desiredHeight); -} - void wxIcon::CopyFromBitmap(const wxBitmap& bmp) { wxIcon *icon = (wxIcon*)(&bmp);