wxWidgets/samples
Vadim Zeitlin 03a187ccae wxHtmlWindow background drawing fixes for OS X and optimizations
1. Avoid crashes under OS X due to attempts to copy window contents to the
   backing store bitmap: this doesn't work under OS X so avoid it by always
   painting the background from OnPaint() itself, while still generating the
   erase background events for compatibility.

2. Don't double buffer wxHtmlWindow drawing if the window is already double
   buffered.

3. Don't allocate backing store bitmap on the heap, this is useless as bitmaps
   are already pointer-lile -- so just use invalid bitmap instead of NULL
   bitmap pointer.

4. Update the html/test sample to show the effects of custom erase background
   handler in wxHtmlWindow (it overrides the background bitmap painting).



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 17:32:20 +00:00
..
access don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
animate don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
artprov don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
aui don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
calendar don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
caret don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
clipboard don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
collpane don't start menu IDs at 0 to avoid an assert under Mac 2009-06-10 14:54:09 +00:00
combo don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
config correct Borland #pragma hdrstop position 2009-06-01 20:54:03 +00:00
console work around MSVC warnings about using uninitialized variables in optimized build 2009-06-07 12:29:39 +00:00
controls use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL 2009-06-03 22:33:32 +00:00
dataview Closes #10495: wxDataViewCtrl needs a way to start the label editor programmatically, also Windows port now emits vetoable ..._EDITING_STARTED event 2009-06-01 13:57:38 +00:00
debugrpt don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
dialogs don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
dialup don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
display don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
dnd don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
docview don't leave the document in modified state after loading it (closes #10081) 2009-06-13 19:42:28 +00:00
dragimag don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
drawing don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
erase implement new wxBG_STYLE_XXX semantics for wxMSW too 2009-06-17 04:36:28 +00:00
event don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
except don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
exec added a timer updating a counter in the background to be able to easily check visually whether the events are processed or not during the synchronous child proces execution 2009-05-24 19:40:24 +00:00
flash update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
font don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
grid don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
help don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
htlbox don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
html wxHtmlWindow background drawing fixes for OS X and optimizations 2009-06-18 17:32:20 +00:00
image only allow selecting existing files in wxLoadFileSelector; use this function instead of wxFileSelector in the samples (closes #10693) 2009-06-12 18:02:57 +00:00
internat don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
ipc don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
joytest don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
keyboard don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
layout don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
listctrl don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
mdi don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
mediaplayer don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
memcheck don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
menu don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
mfc update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
minimal don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
nativdlg don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
notebook don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
oleauto ensure that Excel is visible and has an opened workbook (closes #10837) 2009-05-25 20:42:39 +00:00
opengl (dirty) fix rendering upon startup of the surface 2009-05-16 10:57:25 +00:00
ownerdrw don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
popup don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
power don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
printing don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
propgrid Added support for wxLongLong and wxULongLong in wxVariant (closes #10166) 2009-06-15 22:43:27 +00:00
regtest don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
render fix unused parameter warning 2009-06-06 23:13:03 +00:00
richtext don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
sashtest don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
scroll fix typo in previous commit 2009-06-07 16:01:34 +00:00
shaped don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
sockets Update OpenVMS compile support 2009-06-17 12:20:04 +00:00
sound don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
splash don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
splitter don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
statbar don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
stc don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
svg don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
taborder don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
taskbar don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
text don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
thread don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
toolbar compilation fix after wxLoadFileSelector() changes 2009-06-12 19:37:40 +00:00
treectrl improve wxTreeCtrl::ScrollTo() behaviour in the generic version and add a test for it to the sample 2009-05-31 13:08:16 +00:00
typetest don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
validate don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
vscroll don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
widgets implement support for per-state bitmaps in wxMSW wxButton 2009-06-15 20:18:10 +00:00
wizard don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
wrapsizer don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
xrc added XRC handler for wxFileCtrl (closes #10785) 2009-06-12 17:40:11 +00:00
Info.plist removed minimal-specific Info.plist; updated the version in the generic one 2007-03-18 11:54:18 +00:00
makefile.bcc added power, svg, taborder and xrc samples (closes #10849) 2009-05-30 16:42:51 +00:00
makefile.gcc added power, svg, taborder and xrc samples (closes #10849) 2009-05-30 16:42:51 +00:00
Makefile.in
makefile.vc added power, svg, taborder and xrc samples (closes #10849) 2009-05-30 16:42:51 +00:00
makefile.wat added power, svg, taborder and xrc samples (closes #10849) 2009-05-30 16:42:51 +00:00
sample.ico
sample.r making proper resource-fork apps 2007-05-05 17:22:09 +00:00
sample.rc
sample.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
samples.bkl added power, svg, taborder and xrc samples (closes #10849) 2009-05-30 16:42:51 +00:00
samples.dsw reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one 2008-12-24 01:28:55 +00:00