wxWidgets/samples
Vadim Zeitlin ccc040255c Fix wxGrid editors background painting.
There were two fundamental problems: first, we painted on a separately created
wxClientDC instead of using the wxPaintDC already available in wxGrid. Second,
we invalidated the control while painting, resulting in endless repainting, at
least under wxGTK.

Fix the first problem by passing wxDC to wxGridCellEditor::PaintBackground()
and the second one by not refreshing the control from there as it just seems
unnecessary.

Also pass the attribute by reference for consistency with
wxGridCellRenderer::Draw() and because this pointer can never be NULL.

Closes #2628.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-17 16:44:02 +00:00
..
access Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
animate Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
artprov Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
aui Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
calendar Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
caret Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
clipboard Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
collpane Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
combo Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
config Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
console Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
controls Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
dataview Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
debugrpt Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
dialogs Implement wxNotificationMessage using libnotify in wxGTK. 2012-07-27 15:36:54 +00:00
dialup Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
display Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
dll Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
dnd Use text/uri-list instead of x-moz-url in wxGTK wxURLDataObject. 2012-07-20 11:55:00 +00:00
docview Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
dragimag Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
drawing Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
erase Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
event Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
except Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
exec Set the standard sample icon for the exec sample. 2012-10-13 22:52:59 +00:00
flash Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
font Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
fswatcher Handle deletion of watched directories in wxFileSystemWatcher sample. 2012-10-15 01:10:12 +00:00
grid Fix wxGrid editors background painting. 2012-10-17 16:44:02 +00:00
help Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
htlbox Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
html Add support for background-color style to span element in wxHTML. 2012-09-30 22:20:58 +00:00
image Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. 2012-09-13 17:15:25 +00:00
internat Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
ipc Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
joytest Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
keyboard Add an option to use wxTextCtrl as input window in keyboard sample. 2012-07-31 11:09:00 +00:00
layout Make wxWrapSizer demo in the layout sample more dynamic. 2012-09-22 16:16:30 +00:00
listctrl Implement incremental search in wxGenericListCtrl. 2012-10-07 22:42:27 +00:00
mdi Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
mediaplayer Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
memcheck Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
menu Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
mfc Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
minimal Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
nativdlg Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
notebook Added wxSimplebook class: a wxBookCtrl without controller. 2012-08-30 20:21:54 +00:00
oleauto Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
opengl Enable GL_CULL_FACE in OpenGL samples. 2012-09-08 15:46:27 +00:00
ownerdrw Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
popup Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
power Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
printing Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
propgrid Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
regtest Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
render Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
ribbon Add a setting for the disabled text colour to wxRibbon art. 2012-10-04 23:23:41 +00:00
richtext Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
sashtest Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
scroll Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
shaped Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
sockets Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
sound Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
splash Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
splitter Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
statbar Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
stc Don't call ClearAll() before LoadFile() in the stc sample. 2012-09-30 22:26:58 +00:00
svg Fix text origin and bounding box computations in wxSVGFileDC. 2012-09-15 23:19:35 +00:00
taborder Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
taskbar Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
text Forbid setting hints for multi-line text controls. 2012-07-10 23:52:10 +00:00
thread Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
toolbar Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
treectrl Add a possibility to beep on no match to wxGenericTreeCtrl. 2012-10-07 22:42:02 +00:00
treelist Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
typetest Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
uiaction Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
validate Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
vscroll Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
webview Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. 2012-09-11 09:26:58 +00:00
widgets Fix wxSearchCtrl recreation in the widgets sample. 2012-09-28 23:50:05 +00:00
wizard Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
wrapsizer Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
xrc Add "inherit" to <font> XRC tag. 2012-09-28 23:48:34 +00:00
xti Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
Info.plist Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
makefile.bcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.gcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
Makefile.in
makefile.vc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.wat Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
sample_os2.ico
sample.ico
sample.r
sample.rc
sample.rc4
sample.rcO
sample.xpm
samples.bkl Rename web library to webview. 2011-08-19 10:45:16 +00:00
samples.dsw