Jeff Young
23726116ee
Revert code that got accidentally committed.
(This didn't fix the problem anyway; I had to fix it in our OSX
wxWidgets branch.)
Fixes: lp:1792196
* https://bugs.launchpad.net/kicad/+bug/1792196
7 years ago
Jeff Young
806b1fc63d
Fix bugs to enable read-only grid cells to be copied.
Fixes: lp:1791129
* https://bugs.launchpad.net/kicad/+bug/1791129
7 years ago
jean-pierre charras
23ec0cda31
Fix use of a deprecated wxGrid function.
7 years ago
Jeff Young
45bc1b1aff
Add single-click editing to grid cells. (Experimental.)
7 years ago
Jeff Young
3e062867de
Move all the grid workarounds into our own WX_GRID class.
(cherry picked from commit 08b4463)
8 years ago
Jeff Young
7be85deb32
GRID_TRICKS improvements.
Allow copy of a single cell demarcated by the grid cursor.
Paste of lib_table s-expressions should always start at 0,0.
Let caller or specialized sub-class do auto-sizing; don’t
do it from within the base GRID_TRICKS.
Don’t start GRID_TRICKS menu IDs at -1; wxWidgets doesn’t
like it when you get to 0.
Add column visibility menu.
(cherry picked from commit e5071ed)
8 years ago
Jeff Young
97fffe875f
Notify clients when GRID_TRICKS toggles checkboxes.
8 years ago
jean-pierre charras
6940f92469
Fix compil issue and warning on Windows/msys2
8 years ago
Jeff Young
5957bc7dba
Make sure checkboxes refresh on Linux.
8 years ago
Jeff Young
a0364a1137
Don't make user click twice to toggle checkbox in wxGrid.
8 years ago
Simon Richter
96ec9db5d6
Add missing C++ stdlib headers
The GCC standard library headers often include other headers, which makes
some code compile that forgets to include several headers.
10 years ago
jean-pierre charras
8d6e75fce6
Fix 2 coverity warnings, and cleanup a old code in dialog_color_config.
11 years ago
jean-pierre charras
f0a52644ea
Pcbnew: fix Bug #1413701 (Segfault on highlight "unconnected" net 0 in Pcbnew ). Also, remove now useless code and other very minor fixes.
11 years ago
Dick Hollenbeck
abfeab02d7
FIX: wx 2.8 convert to UTF8 differently than 2.9 caused problems in DIALOG_FP_PLUGIN_OPTIONS.
12 years ago
Dick Hollenbeck
1731e89508
*) Factor out Cut, Copy, and Paste for wxGrid into class common/GRID_TRICKS.
*) Use it on 3 grids total in DIALOG_FP_PLUGIN_OPTIONS and DIALOG_FP_LIB_TABLE.
*) Fix bug when pasting "(fp_lib_table" text into FP_LIB_TABLE.
12 years ago