elliotf / heekscad

Automatically exported from code.google.com/p/heekscad
0 stars 0 forks source link

patch: svn 990, linux build, HeeksFrame.cpp #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
diff -u HeeksFrame.cpp.001 HeeksFrame.cpp
--- HeeksFrame.cpp.001  2009-12-07 15:20:33.000000000 -0800
+++ HeeksFrame.cpp  2009-12-07 15:18:15.000000000 -0800
@@ -1295,14 +1295,15 @@
    int id_to_use = MakeNextIDForTool(NULL, NULL);
    wxBitmapButton* button = new CFlyOutButton(flyout_list, toolbar,
id_to_use, wxDefaultPosition,
 #ifdef WIN32
-       wxSize(ToolImage::GetBitmapSize() + FLYOUT_PANEL_BORDER,
ToolImage::GetBitmapSize()
+       wxSize(ToolImage::GetBitmapSize() + FLYOUT_PANEL_BORDER,
ToolImage::GetBitmapSize())
 #else
        wxDefaultSize
 #endif
-       ) );
+       );
    toolbar->AddControl(button);
 }

+
 // a class just so I can get at the protected m_tools of wxToolBar
 class ToolBarForGettingToolsFrom: public wxToolBar
 {

Original issue reported on code.google.com by d99garr...@gmail.com on 7 Dec 2009 at 11:21

GoogleCodeExporter commented 9 years ago
I have fixed this now. Sorry, I didn't get round to checking it built on Linux.

Original comment by danhe...@gmail.com on 8 Dec 2009 at 1:38