]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
Added TOOL_ENTER command. Now wxGTK and wxMSW misbehave
[wxWidgets.git] / src / common / gdicmn.cpp
index 639619c5a7a5f72084abfa6f8e79828de7e20447..e67704f9b54b3fb60732681de1f0d913214fb66e 100644 (file)
@@ -20,6 +20,7 @@
 #pragma hdrstop
 #endif
 
+
 #include "wx/gdicmn.h"
 #include "wx/brush.h"
 #include "wx/pen.h"
@@ -29,6 +30,7 @@
 #include "wx/font.h"
 #include "wx/palette.h"
 
+#include "wx/log.h"
 #include <string.h>
 
 #ifdef __WXMSW__
@@ -257,6 +259,12 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour)
   else return NULL;
 #endif
 
+// TODO for other implementations. This should really go into
+// platform-specific directories.
+#ifdef __WXSTUBS__
+  else return NULL;
+#endif
+
 #ifdef __WXGTK__
   else {
     wxColour *col = new wxColour( colour );
@@ -378,7 +386,6 @@ void wxInitializeStockObjects ()
 void 
 wxDeleteStockObjects ()
 {
-
   wxDELETE(wxNORMAL_FONT);
   wxDELETE(wxSMALL_FONT);
   wxDELETE(wxITALIC_FONT);
@@ -432,6 +439,8 @@ wxBitmapList::wxBitmapList ()
 
 wxBitmapList::~wxBitmapList ()
 {
+  wxLogDebug("~wxBitmapList: count = %d", Number());
+
   wxNode *node = First ();
   while (node)
     {