wxWidgets.git
15 years agogeneral docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays...
Vadim Zeitlin [Mon, 4 Aug 2008 00:37:00 +0000 (00:37 +0000)] 
general docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays; refactor wxDocManager::CreateDocument() and allow using wxDOC_SILENT with wxDOC_NEW; cleanup wxFileHistory code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix fatal bug in wxVector copy ctor
Vadim Zeitlin [Sun, 3 Aug 2008 23:58:24 +0000 (23:58 +0000)] 
fix fatal bug in wxVector copy ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing name typo
Stefan Csomor [Sun, 3 Aug 2008 17:36:10 +0000 (17:36 +0000)] 
fixing name typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomoving osx files (rename will follow)
Stefan Csomor [Sun, 3 Aug 2008 17:34:59 +0000 (17:34 +0000)] 
moving osx files (rename will follow)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreturn empty string instead of some garbage if strftime() failed
Vadim Zeitlin [Sun, 3 Aug 2008 14:34:43 +0000 (14:34 +0000)] 
return empty string instead of some garbage if strftime() failed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix mouse capture lost assert when dialog shown in tab change event handler
Benjamin Williams [Sun, 3 Aug 2008 13:58:08 +0000 (13:58 +0000)] 
fix mouse capture lost assert when dialog shown in tab change event handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fix for PCH-less build; also moved some functions out of line
Vadim Zeitlin [Sun, 3 Aug 2008 12:24:25 +0000 (12:24 +0000)] 
compilation fix for PCH-less build; also moved some functions out of line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix view rectangle calculation for the control with scrollbars (#9467)
Vadim Zeitlin [Sun, 3 Aug 2008 12:15:30 +0000 (12:15 +0000)] 
fix view rectangle calculation for the control with scrollbars (#9467)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd BSTR arrays handling in wxConvertOleToVariant() (#9636)
Vadim Zeitlin [Sun, 3 Aug 2008 11:53:38 +0000 (11:53 +0000)] 
add BSTR arrays handling in wxConvertOleToVariant() (#9636)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd support for multiline labels in wxToggleButton
Vadim Zeitlin [Sun, 3 Aug 2008 11:47:01 +0000 (11:47 +0000)] 
add support for multiline labels in wxToggleButton

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono real changes, just refactor to remove some code duplication in wxToolBarTool
Vadim Zeitlin [Sun, 3 Aug 2008 11:27:03 +0000 (11:27 +0000)] 
no real changes, just refactor to remove some code duplication in wxToolBarTool

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement wxToolBarTool::SetLabel() for wxOSX_USE_NATIVE_TOOLBAR (#9746)
Vadim Zeitlin [Sun, 3 Aug 2008 11:23:51 +0000 (11:23 +0000)] 
implement wxToolBarTool::SetLabel() for wxOSX_USE_NATIVE_TOOLBAR (#9746)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agouse wxPEN/BRUSH_XXX instead of wxXXX (#9812)
Vadim Zeitlin [Sun, 3 Aug 2008 11:16:26 +0000 (11:16 +0000)] 
use wxPEN/BRUSH_XXX instead of wxXXX (#9812)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomake SetValidator() symmetric with GetValidator() (#9793)
Vadim Zeitlin [Sun, 3 Aug 2008 11:12:58 +0000 (11:12 +0000)] 
make SetValidator() symmetric with GetValidator() (#9793)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoupdate for wxSHUTDOWN_LOGOFF/FORCE, should have been part of r54949
Vadim Zeitlin [Sun, 3 Aug 2008 10:59:30 +0000 (10:59 +0000)] 
update for wxSHUTDOWN_LOGOFF/FORCE, should have been part of r54949

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_F...
Vadim Zeitlin [Sun, 3 Aug 2008 10:56:05 +0000 (10:56 +0000)] 
added wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_FORCE is specified

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fix for PCH-less build after last commit
Vadim Zeitlin [Sun, 3 Aug 2008 10:54:33 +0000 (10:54 +0000)] 
compilation fix for PCH-less build after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agostore palette information from XPM in wxImage (#9763)
Vadim Zeitlin [Sun, 3 Aug 2008 10:31:07 +0000 (10:31 +0000)] 
store palette information from XPM in wxImage (#9763)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix segfault when Update() is called inbetween mouse-up and mouse-down
Benjamin Williams [Sun, 3 Aug 2008 10:09:43 +0000 (10:09 +0000)] 
fix segfault when Update() is called inbetween mouse-up and mouse-down

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't keep the transparent palette colour from the previous frame for the next one...
Vadim Zeitlin [Sun, 3 Aug 2008 00:36:52 +0000 (00:36 +0000)] 
don't keep the transparent palette colour from the previous frame for the next one which may not have any transparency at all (#9747)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono real changes, just some cleanup: use wxON_BLOCK_EXIT instead of littering the...
Vadim Zeitlin [Sun, 3 Aug 2008 00:32:12 +0000 (00:32 +0000)] 
no real changes, just some cleanup: use wxON_BLOCK_EXIT instead of littering the code with delete[] statements; don't use identifiers starting with underscore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd support for reading alpha channel from BMP images (#9741)
Vadim Zeitlin [Sun, 3 Aug 2008 00:23:38 +0000 (00:23 +0000)] 
add support for reading alpha channel from BMP images (#9741)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation after last commit: semicolon after wxDELETE() is now required; also remov...
Vadim Zeitlin [Sun, 3 Aug 2008 00:10:06 +0000 (00:10 +0000)] 
compilation after last commit: semicolon after wxDELETE() is now required; also removed some other extra semicolons and other minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomade wxDELETE[A]() template functions instead of macros; they now also check that...
Vadim Zeitlin [Sat, 2 Aug 2008 22:49:01 +0000 (22:49 +0000)] 
made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared (#9685)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't use our custom WM_PAINT handler with composited window as this results in an...
Vadim Zeitlin [Sat, 2 Aug 2008 22:34:37 +0000 (22:34 +0000)] 
don't use our custom WM_PAINT handler with composited window as this results in an endless repaint loop (#9666); also don't even define HandlePaint() under CE as it's never used there

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreturn true from IsDoubleBuffered() if our TLW parent is a composited window; the...
Vadim Zeitlin [Sat, 2 Aug 2008 22:33:08 +0000 (22:33 +0000)] 
return true from IsDoubleBuffered() if our TLW parent is a composited window; the old version returned false in this case which probably was unintentional as it doesn't seem to make sense (see #9666)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxGet/Set/HasWindowExStyle() helpers and use them
Vadim Zeitlin [Sat, 2 Aug 2008 22:30:05 +0000 (22:30 +0000)] 
add wxGet/Set/HasWindowExStyle() helpers and use them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fix after last commit
Vadim Zeitlin [Sat, 2 Aug 2008 22:24:15 +0000 (22:24 +0000)] 
compilation fix after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocopy both alpha and mask in Paste() (#9658)
Vadim Zeitlin [Sat, 2 Aug 2008 22:00:53 +0000 (22:00 +0000)] 
copy both alpha and mask in Paste() (#9658)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
Vadim Zeitlin [Sat, 2 Aug 2008 21:51:22 +0000 (21:51 +0000)] 
add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded trivial wxLaunchDefaultApplication() implementation for wxMac; added a test...
Vadim Zeitlin [Sat, 2 Aug 2008 21:49:06 +0000 (21:49 +0000)] 
added trivial wxLaunchDefaultApplication() implementation for wxMac; added a test for it to the exec sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxImage::SetType() and use it in animation decoders (#9639)
Vadim Zeitlin [Sat, 2 Aug 2008 20:13:41 +0000 (20:13 +0000)] 
add wxImage::SetType() and use it in animation decoders (#9639)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument "clear" parameter of ctor/Create() properly (part of #9639)
Vadim Zeitlin [Sat, 2 Aug 2008 20:00:50 +0000 (20:00 +0000)] 
document "clear" parameter of ctor/Create() properly (part of #9639)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix keyboard navigation in radio boxes containing hidden or disabled items
Vadim Zeitlin [Sat, 2 Aug 2008 19:45:23 +0000 (19:45 +0000)] 
fix keyboard navigation in radio boxes containing hidden or disabled items

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded enabled and hidden attributes to radio box items in XRC
Vadim Zeitlin [Sat, 2 Aug 2008 18:21:38 +0000 (18:21 +0000)] 
added enabled and hidden attributes to radio box items in XRC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimprove best size calculation; notably account for wxDP_ALLOWNONE
Vadim Zeitlin [Sat, 2 Aug 2008 17:50:16 +0000 (17:50 +0000)] 
improve best size calculation; notably account for wxDP_ALLOWNONE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise...
Vadim Zeitlin [Sat, 2 Aug 2008 15:59:13 +0000 (15:59 +0000)] 
ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement wxLaunchDefaultApplication() for MSW and document it (#9810)
Vadim Zeitlin [Sat, 2 Aug 2008 15:31:38 +0000 (15:31 +0000)] 
implement wxLaunchDefaultApplication() for MSW and document it (#9810)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPCH-less build fix after the last commit
Vadim Zeitlin [Sat, 2 Aug 2008 15:20:27 +0000 (15:20 +0000)] 
PCH-less build fix after the last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoextract parts of wxXRC depending on wxAdv in a separate file to allow statically...
Vadim Zeitlin [Sat, 2 Aug 2008 14:15:22 +0000 (14:15 +0000)] 
extract parts of wxXRC depending on wxAdv in a separate file to allow statically linking with wxXRC but without wxAdv; note that rebaked project/make files also contain ustring.cpp/h now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoSupport NOR logical function
Robert Roebling [Sat, 2 Aug 2008 14:14:17 +0000 (14:14 +0000)] 
Support NOR logical function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMinor formating
Robert Roebling [Sat, 2 Aug 2008 14:10:54 +0000 (14:10 +0000)] 
Minor formating

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoVC6 compilation warning fix for non-defined template class copy ctor
Vadim Zeitlin [Sat, 2 Aug 2008 13:10:33 +0000 (13:10 +0000)] 
VC6 compilation warning fix for non-defined template class copy ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoguarding all text methods against unset font
Stefan Csomor [Sat, 2 Aug 2008 06:40:21 +0000 (06:40 +0000)] 
guarding all text methods against unset font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoguarding preproc variable against undefined
Stefan Csomor [Sat, 2 Aug 2008 04:47:39 +0000 (04:47 +0000)] 
guarding preproc variable against undefined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocapitalize the application name in GetAppDisplayName() by default; this results in...
Vadim Zeitlin [Fri, 1 Aug 2008 23:47:22 +0000 (23:47 +0000)] 
capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower...
Vadim Zeitlin [Fri, 1 Aug 2008 23:39:11 +0000 (23:39 +0000)] 
add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded a number of NULL ptr asserts (#4145)
Benjamin Williams [Fri, 1 Aug 2008 21:04:31 +0000 (21:04 +0000)] 
added a number of NULL ptr asserts (#4145)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix for defect #4827
Benjamin Williams [Fri, 1 Aug 2008 18:59:21 +0000 (18:59 +0000)] 
fix for defect #4827

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix for ticket #4505, Floatable(false) wasn't working in all cases
Benjamin Williams [Fri, 1 Aug 2008 18:35:34 +0000 (18:35 +0000)] 
fix for ticket #4505, Floatable(false) wasn't working in all cases

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding info about opaque classes, making sure refs are displayed correctly in pdf
Stefan Csomor [Fri, 1 Aug 2008 18:24:53 +0000 (18:24 +0000)] 
adding info about opaque classes, making sure refs are displayed correctly in pdf

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding logo on frontpage of pdflatex output
Stefan Csomor [Fri, 1 Aug 2008 17:24:14 +0000 (17:24 +0000)] 
adding logo on frontpage of pdflatex output

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofloating pane now respects IsFixed pane status; indirect fix for #4044
Benjamin Williams [Fri, 1 Aug 2008 16:08:35 +0000 (16:08 +0000)] 
floating pane now respects IsFixed pane status; indirect fix for #4044

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd more stock items (#9799)
Vadim Zeitlin [Fri, 1 Aug 2008 14:38:02 +0000 (14:38 +0000)] 
add more stock items (#9799)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremoved a cast to WPARAM which was unnecessary and provoked a warning (part of #9803)
Vadim Zeitlin [Fri, 1 Aug 2008 14:31:00 +0000 (14:31 +0000)] 
removed a cast to WPARAM which was unnecessary and provoked a warning (part of #9803)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoinherit wx_error_mgr from jpeg_error_mgr instead of embedding the latter in the forme...
Vadim Zeitlin [Fri, 1 Aug 2008 14:29:33 +0000 (14:29 +0000)] 
inherit wx_error_mgr from jpeg_error_mgr instead of embedding the latter in the former (part of #9803)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove wxSETranslator() entirely from wxUSE_ON_FATAL_EXCEPTION==0 build (part of...
Vadim Zeitlin [Fri, 1 Aug 2008 14:22:42 +0000 (14:22 +0000)] 
remove wxSETranslator() entirely from wxUSE_ON_FATAL_EXCEPTION==0 build (part of #9803)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix warning about possible uninitialized variable with VC9 (part of #9803)
Vadim Zeitlin [Fri, 1 Aug 2008 14:19:22 +0000 (14:19 +0000)] 
fix warning about possible uninitialized variable with VC9 (part of #9803)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono real changes, just some minor cleanup to fix a few compile- and run-time warnings...
Vadim Zeitlin [Fri, 1 Aug 2008 14:12:09 +0000 (14:12 +0000)] 
no real changes, just some minor cleanup to fix a few compile- and run-time warnings (#9805)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement support for wxOR and wxCLEAR in wxCairoContext::SetLogicalFunction() (...
Vadim Zeitlin [Fri, 1 Aug 2008 14:03:17 +0000 (14:03 +0000)] 
implement support for wxOR and wxCLEAR in wxCairoContext::SetLogicalFunction() (#9808)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobuild fix for wxGTK/Univ build (#9706)
Vadim Zeitlin [Fri, 1 Aug 2008 13:53:05 +0000 (13:53 +0000)] 
build fix for wxGTK/Univ build (#9706)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agouse a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)
Vadim Zeitlin [Fri, 1 Aug 2008 13:46:46 +0000 (13:46 +0000)] 
use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoactivating ustring again
Stefan Csomor [Fri, 1 Aug 2008 13:43:53 +0000 (13:43 +0000)] 
activating ustring again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoForgot to commit
Robert Roebling [Fri, 1 Aug 2008 12:05:46 +0000 (12:05 +0000)] 
Forgot to commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoattempt to commit as utf8
Stefan Csomor [Fri, 1 Aug 2008 10:31:35 +0000 (10:31 +0000)] 
attempt to commit as utf8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCompilation for wchar mode
Robert Roebling [Fri, 1 Aug 2008 07:16:49 +0000 (07:16 +0000)] 
Compilation for wchar mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomoving common implementation for osx closer to unix, by using threadspsx.cpp and...
Stefan Csomor [Fri, 1 Aug 2008 06:40:16 +0000 (06:40 +0000)] 
moving common implementation for osx closer to unix, by using threadspsx.cpp and unix/dir.cpp, getting rid of morefile(x) and moving colour.cpp to core

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSXTimer for all variants (sorry Vaclav, should be about the last split comit ..)
Stefan Csomor [Thu, 31 Jul 2008 13:04:02 +0000 (13:04 +0000)] 
OSXTimer for all variants (sorry Vaclav, should be about the last split comit ..)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSXTimer for all variants
Stefan Csomor [Thu, 31 Jul 2008 13:02:53 +0000 (13:02 +0000)] 
OSXTimer for all variants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoinclude <string>
Robert Roebling [Thu, 31 Jul 2008 12:35:46 +0000 (12:35 +0000)] 
include <string>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoalthough ustring.h/cpp are in files.bkl apparently rebaking was not a good idea,...
Stefan Csomor [Thu, 31 Jul 2008 11:52:24 +0000 (11:52 +0000)] 
although ustring.h/cpp are in files.bkl apparently rebaking was not a good idea, removed again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadapting osx file layout
Stefan Csomor [Thu, 31 Jul 2008 10:45:59 +0000 (10:45 +0000)] 
adapting osx file layout

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadapting osx file layout
Stefan Csomor [Thu, 31 Jul 2008 10:35:37 +0000 (10:35 +0000)] 
adapting osx file layout

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoturning on core timer implementation for carbon as well
Stefan Csomor [Thu, 31 Jul 2008 10:27:09 +0000 (10:27 +0000)] 
turning on core timer implementation for carbon as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxColour is implemented using CoreGraphics
Stefan Csomor [Thu, 31 Jul 2008 10:23:14 +0000 (10:23 +0000)] 
wxColour is implemented using CoreGraphics

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxColour is implemented using CoreGraphics
Stefan Csomor [Thu, 31 Jul 2008 10:22:23 +0000 (10:22 +0000)] 
wxColour is implemented using CoreGraphics

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxColour is implemented using CoreGraphics
Stefan Csomor [Thu, 31 Jul 2008 10:21:17 +0000 (10:21 +0000)] 
wxColour is implemented using CoreGraphics

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxColour is implemented using CoreGraphics
Stefan Csomor [Thu, 31 Jul 2008 10:10:33 +0000 (10:10 +0000)] 
wxColour is implemented using CoreGraphics

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agopen and brush are platform neutral on osx
Stefan Csomor [Thu, 31 Jul 2008 10:04:51 +0000 (10:04 +0000)] 
pen and brush are platform neutral on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agopen and brush are platform neutral on osx
Stefan Csomor [Thu, 31 Jul 2008 10:04:28 +0000 (10:04 +0000)] 
pen and brush are platform neutral on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrecting header path
Stefan Csomor [Thu, 31 Jul 2008 09:59:04 +0000 (09:59 +0000)] 
correcting header path

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agopen and brush are platform neutral on osx
Stefan Csomor [Thu, 31 Jul 2008 09:57:05 +0000 (09:57 +0000)] 
pen and brush are platform neutral on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agopen and brush are platform neutral on osx
Stefan Csomor [Thu, 31 Jul 2008 09:56:44 +0000 (09:56 +0000)] 
pen and brush are platform neutral on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobrush and pen are implementation neutral on osx
Stefan Csomor [Thu, 31 Jul 2008 09:52:01 +0000 (09:52 +0000)] 
brush and pen are implementation neutral on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobetter guarding when no printing architecture exists
Stefan Csomor [Thu, 31 Jul 2008 06:59:10 +0000 (06:59 +0000)] 
better guarding when no printing architecture exists

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobetter guarding when no printing architecture exists (patch from Joel Low)
Stefan Csomor [Thu, 31 Jul 2008 06:57:33 +0000 (06:57 +0000)] 
better guarding when no printing architecture exists (patch from Joel Low)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobetter guarding when no printing architecture exists (patch from Joel Low)
Stefan Csomor [Thu, 31 Jul 2008 05:57:56 +0000 (05:57 +0000)] 
better guarding when no printing architecture exists (patch from Joel Low)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd operator[] to our wxStringImpl (blind fix for wxMac buildbot build)
Vadim Zeitlin [Wed, 30 Jul 2008 22:11:06 +0000 (22:11 +0000)] 
add operator[] to our wxStringImpl (blind fix for wxMac buildbot build)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agooptimize Replace() for the common case of replacing one character with another one...
Vadim Zeitlin [Wed, 30 Jul 2008 21:41:07 +0000 (21:41 +0000)] 
optimize Replace() for the common case of replacing one character with another one (#9802)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument that numbers outside of the valid range are forced into it
Vadim Zeitlin [Wed, 30 Jul 2008 19:25:10 +0000 (19:25 +0000)] 
document that numbers outside of the valid range are forced into it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodefault to using graphics context on osx
Stefan Csomor [Wed, 30 Jul 2008 15:48:24 +0000 (15:48 +0000)] 
default to using graphics context on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agouse different strings for wchar_t and UTF-8-based Unicode builds
Vadim Zeitlin [Wed, 30 Jul 2008 15:32:11 +0000 (15:32 +0000)] 
use different strings for wchar_t and UTF-8-based Unicode builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded another Replace() test
Vadim Zeitlin [Wed, 30 Jul 2008 15:25:19 +0000 (15:25 +0000)] 
added another Replace() test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSX reshuffling
Stefan Csomor [Wed, 30 Jul 2008 15:04:03 +0000 (15:04 +0000)] 
OSX reshuffling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSX reshuffling
Stefan Csomor [Wed, 30 Jul 2008 15:02:41 +0000 (15:02 +0000)] 
OSX reshuffling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSX reshuffling
Stefan Csomor [Wed, 30 Jul 2008 15:02:21 +0000 (15:02 +0000)] 
OSX reshuffling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSX reshuffling
Stefan Csomor [Wed, 30 Jul 2008 15:01:58 +0000 (15:01 +0000)] 
OSX reshuffling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSX reshuffling
Stefan Csomor [Wed, 30 Jul 2008 15:00:41 +0000 (15:00 +0000)] 
OSX reshuffling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOSX renaming round 2
Stefan Csomor [Wed, 30 Jul 2008 14:52:41 +0000 (14:52 +0000)] 
OSX renaming round 2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded some Replace() benchmarks (#9802)
Vadim Zeitlin [Wed, 30 Jul 2008 13:56:17 +0000 (13:56 +0000)] 
added some Replace() benchmarks (#9802)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775