Commit fca4a7dd authored by charras's avatar charras

Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC.

parent 54b56123
...@@ -139,8 +139,8 @@ check_find_package_result(OPENGL_FOUND "OpenGL") ...@@ -139,8 +139,8 @@ check_find_package_result(OPENGL_FOUND "OpenGL")
# http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html # http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html
if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR )
# find_package(wxWidgets COMPONENTS gl html adv core net base aui QUIET) find_package(wxWidgets COMPONENTS gl html adv core net base aui QUIET)
find_package(wxWidgets COMPONENTS gl html adv core net base QUIET) # find_package(wxWidgets COMPONENTS gl html adv core net base QUIET)
else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR )
find_package(wxWidgets COMPONENTS gl html adv core net base QUIET) find_package(wxWidgets COMPONENTS gl html adv core net base QUIET)
endif( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) endif( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment