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
2018-09-12 19:34:55 +01:00
Jeff Young
806b1fc63d
Fix bugs to enable read-only grid cells to be copied.
...
Fixes: lp:1791129
* https://bugs.launchpad.net/kicad/+bug/1791129
2018-09-12 14:01:36 +01:00
jean-pierre charras
23ec0cda31
Fix use of a deprecated wxGrid function.
2018-08-30 09:07:33 +02:00
Jeff Young
45bc1b1aff
Add single-click editing to grid cells. (Experimental.)
2018-08-29 19:59:02 +01:00
Jeff Young
3e062867de
Move all the grid workarounds into our own WX_GRID class.
...
(cherry picked from commit 08b4463)
2018-07-17 15:11:38 +01:00
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)
2018-07-17 15:10:03 +01:00
Jeff Young
97fffe875f
Notify clients when GRID_TRICKS toggles checkboxes.
2018-03-24 13:13:57 +00:00
jean-pierre charras
6940f92469
Fix compil issue and warning on Windows/msys2
2018-03-23 15:07:38 +01:00
Jeff Young
5957bc7dba
Make sure checkboxes refresh on Linux.
2018-03-23 13:33:17 +00:00
Jeff Young
a0364a1137
Don't make user click twice to toggle checkbox in wxGrid.
2018-03-23 12:46:17 +00:00
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.
2016-05-28 12:46:29 -04:00
jean-pierre charras
8d6e75fce6
Fix 2 coverity warnings, and cleanup a old code in dialog_color_config.
2015-03-04 20:45:18 +01:00
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.
2015-01-23 12:24:32 +01:00
Dick Hollenbeck
abfeab02d7
FIX: wx 2.8 convert to UTF8 differently than 2.9 caused problems in DIALOG_FP_PLUGIN_OPTIONS.
2013-11-19 14:38:29 -06:00
Maciej Suminski
e13f862145
Merged upstream.
2013-10-28 21:34:06 +01:00
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.
2013-10-23 13:56:03 -05:00