+ wxBitmap *newBitmap = new wxBitmap(toolSize.x, toolSize.y);
+
+ // Test code
+#if 0
+ wxMemoryDC memDC;
+ memDC.SelectObject(*newBitmap);
+ memDC.SetPen(* wxBLACK_PEN);
+ memDC.SetBrush(* wxWHITE_BRUSH);
+ memDC.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE), wxSOLID));
+ memDC.SetLogicalFunction(wxCOPY);
+ memDC.Clear();
+
+ memDC.DrawLine(0, 0, toolSize.x, toolSize.y);
+ memDC.DrawLine(0, toolSize.y, toolSize.x, 0);
+
+ memDC.SelectObject(wxNullBitmap);
+#endif