Commit Graph

45021 Commits

Author SHA1 Message Date
Václav Slavík
e00d33048d pch-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:40:48 +00:00
Václav Slavík
283c84c224 compilation fix: wxUString uses it's own wxCharTypeBuffer<T> specializations and so needs NullData definitions for them too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:29:11 +00:00
Václav Slavík
95691abd43 radically simplified declarations of wxUString-specific char buffers: there are no compatibility concerns, so they can simply be typedefs for wxCharTypeBuffer<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:28:20 +00:00
Václav Slavík
5c1de526d2 added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 19:37:51 +00:00
Paul Cornett
f2448f2110 some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 18:26:33 +00:00
Paul Cornett
3abfbb4354 set extra widget from child inserter, so that correct style is set early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 18:24:21 +00:00
Robin Dunn
c2cbae6bb8 Avoid default child window focus behavior in generic wxListCtrl. Fixes #9563
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:26:53 +00:00
Paul Cornett
fd6c5101a5 fix previous commit to respect minimum width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:19:56 +00:00
Václav Slavík
f3fda1aa01 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:14:27 +00:00
Vadim Zeitlin
7f3bf33a59 initialize the button label correctly if the same wizard is ran again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 22:44:35 +00:00
Václav Slavík
03a0d58451 more strict UTF-8 validity checks, as it should be (patch #9847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 21:38:21 +00:00
Vadim Zeitlin
817d057840 added test for Replace(whatever, "")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 15:50:24 +00:00
Vadim Zeitlin
dd79ca2fd8 undid changes accidentally committed as part of r55019
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 19:00:19 +00:00
Vadim Zeitlin
64a044d5a6 added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
375a5d3a93 add DECLARE_NO_COPY_TEMPLATE_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:37:56 +00:00
Vadim Zeitlin
706068e401 document DECLARE_NO_{COPY,ASSIGN}_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:35:56 +00:00
Vadim Zeitlin
c585ccef9c added Win32 TLS tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 01:13:30 +00:00
Vadim Zeitlin
49f11e8482 add TLS access benchmark
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 00:43:20 +00:00
Julian Smart
380e1c0ccc Fixed scrolling bug where scrollbar was taken to be a valid child window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:59:46 +00:00
Paul Cornett
38a36cf517 allow dialog to be resized smaller with extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:59:33 +00:00
Vadim Zeitlin
c6e4d276a3 don't call OnCloseDocument() from OnNewDocument(), this plainly doesn't make sense (#1508)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 12:17:52 +00:00
Václav Slavík
14440cc658 small wxArtProvider API improvements: added HasNativeProvider() and renamed confusingly-named Insert() to PushBack()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 11:46:59 +00:00
Paul Cornett
28c45c53a6 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:26 +00:00
Paul Cornett
f1d5aa4eca fix sizing of extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:10 +00:00
Vadim Zeitlin
99749f85a1 initialize a local variable even if it doesn't really need to be initialized to suppress annoying g++ warning in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 22:34:40 +00:00
Vadim Zeitlin
ac41e143de pass asciistr, not utf8str, to FromAscii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 17:53:25 +00:00
Vadim Zeitlin
44710405ff don't disable optimize if --enable-debug_info was specified, this makes it impossible to build an optimized version with debug info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 17:50:06 +00:00
Paul Cornett
a1cb0b110e use "new" GtkToolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 16:26:16 +00:00
Vadim Zeitlin
c517ecec15 show default values of the options in the usage message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 14:22:13 +00:00
Vadim Zeitlin
31004b7405 replace wxASSERT in wxFindNextFile() with wxCHECK to avoid crashes in release build (#9828)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 10:25:10 +00:00
Vadim Zeitlin
76be36e401 fix an assert failure when a child TLW was created and destroyed while the parent window was frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 22:47:11 +00:00
Stefan Csomor
cf1c280f7f fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:52:02 +00:00
Vadim Zeitlin
16882c9e37 correct use of WXDLLIMPEXP_BASE for wxChar16 wxStrlen() overloads (#9827)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:13:03 +00:00
Vadim Zeitlin
2a998b7344 label different controls on spin page (#9816)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 16:58:54 +00:00
Stefan Csomor
e5398809bc custom info.plist with supported document types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 11:55:21 +00:00
Stefan Csomor
a0b10e1b6f adding support for overwrites from project bkls for info.plist files and custom icons following directions from Vaclav
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 11:49:26 +00:00
Vadim Zeitlin
6d9b671692 mark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:55:44 +00:00
Vadim Zeitlin
52980340f4 fix bug in Mark() which highlighted the day not only in the currently shown month but also in adjancet ones (see #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:22:19 +00:00
Vadim Zeitlin
1c3e52af4b fix wxMenu leak (reopened #9089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:05:17 +00:00
Bryan Petty
3d7548cb60 Review of socket.h interface header by Utensil Candel (#9584).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 18:02:55 +00:00
Julian Smart
e4e1487169 Allow small widths if setting initial strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 15:32:34 +00:00
Vadim Zeitlin
c77049a04b 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
2008-08-04 00:37:00 +00:00
Vadim Zeitlin
a470957ada fix fatal bug in wxVector copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 23:58:24 +00:00
Stefan Csomor
95434bcfc3 fixing name typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 17:36:10 +00:00
Stefan Csomor
96dabe4313 moving osx files (rename will follow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 17:34:59 +00:00
Vadim Zeitlin
adec277f04 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
2008-08-03 14:34:43 +00:00
Benjamin Williams
45ca0e7750 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
2008-08-03 13:58:08 +00:00
Vadim Zeitlin
4af4dec65f 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
2008-08-03 12:24:25 +00:00
Vadim Zeitlin
ebf82d2b4b 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
2008-08-03 12:15:30 +00:00
Vadim Zeitlin
87fe783d01 add BSTR arrays handling in wxConvertOleToVariant() (#9636)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:53:38 +00:00