nav111 / heekscnc

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

Program window disabled #177

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The "Program" window is disabled. The scroll bars don't work.
The same is true for the "Output" window.

I have tracked this down by updating to different recent versions of HeeksCAD.
I have found that the problem happens when this code was added to
HeeksFrame.cpp:

    AddMenuItem(view_menu, _("View XY Front"), ToolImage(_T("magxy")),      
OnMagXYButton );
    AddMenuItem(view_menu, _("View XY Back"), ToolImage(_T("magxym")),      
OnMagXYMButton);
    AddMenuItem(view_menu, _("View XZ Top"), ToolImage(_T("magxz")),        
OnMagXZButton );
    AddMenuItem(view_menu, _("View XZ Bottom"), ToolImage(_T("magxzm")),    
OnMagXZMButton);
    AddMenuItem(view_menu, _("View YZ Right"), ToolImage(_T("magyz")),      
OnMagYZButton );
    AddMenuItem(view_menu, _("View XZ Left"), ToolImage(_T("magyzm")),      
OnMagYZMButton);
    AddMenuItem(view_menu, _("View XZY Isometric"), ToolImage(_T("magxyz")),
OnMagXYZButton);

I find that commenting out one of the lines fixes the problem. I don't
understand it yet.

Original issue reported on code.google.com by danhe...@gmail.com on 5 Apr 2010 at 6:36

GoogleCodeExporter commented 8 years ago
I fixed this; I changed:
    ID_RECENT_FIRST = 1,
to
    ID_RECENT_FIRST = wxID_HIGHEST + 1,

Original comment by danhe...@gmail.com on 9 Apr 2010 at 4:46