]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/icon.cpp
Add EndDialog helper which calls EndModal with the given return code if the
[wxWidgets.git] / src / motif / icon.cpp
index 2006a62b4ec8002605fa332fa00bd01179a35cff..f9fdf93b8d76c44bba70de680da45de0084891d4 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "icon.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -66,5 +62,5 @@ bool wxIcon::LoadFile(const wxString& filename, wxBitmapType type,
         return handler->LoadFile(this, filename, type,
                                  desiredWidth, desiredHeight);
     else
         return handler->LoadFile(this, filename, type,
                                  desiredWidth, desiredHeight);
     else
-        return FALSE;
+        return false;
 }
 }