]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcclient.cpp
don't crash in UnselectAll() if the tree has no root
[wxWidgets.git] / src / mac / carbon / dcclient.cpp
index fa2590f1bfe35ca6712679eb936c7ce6444e45ab..467bc66238fe0a1fa96212e22c3b0365a0a061a2 100644 (file)
@@ -17,6 +17,7 @@
 #include "wx/dcmemory.h"
 #include "wx/region.h"
 #include "wx/window.h"
+#include "wx/toplevel.h"
 #include <math.h>
 
 //-----------------------------------------------------------------------------