]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDFB's wxICON and wxBITMAP should use embedded XPMs, too
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 14 Dec 2006 17:45:06 +0000 (17:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 14 Dec 2006 17:45:06 +0000 (17:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gdicmn.h

index 7accd3a796985f6ad033c4149adb15cd32c41883..ba160596704890fa90f44b7fbcc2acd335e1954c 100644 (file)
@@ -157,6 +157,9 @@ enum wxStockCursor
 #elif defined(__WXMGL__)
     // Initialize from an included XPM
     #define wxICON(X) wxIcon( (const char**) X##_xpm )
+#elif defined(__WXDFB__)
+    // Initialize from an included XPM
+    #define wxICON(X) wxIcon( (const char**) X##_xpm )
 #elif defined(__WXGTK__)
     // Initialize from an included XPM
     #define wxICON(X) wxIcon( (const char**) X##_xpm )
@@ -185,6 +188,7 @@ enum wxStockCursor
       defined(__WXX11__)   || \
       defined(__WXMAC__)   || \
       defined(__WXMGL__)   || \
+      defined(__WXDFB__)   || \
       defined(__WXCOCOA__)
     // Initialize from an included XPM
     #define wxBITMAP(name) wxBitmap( (const char**) name##_xpm )