Commit Graph

42739 Commits

Author SHA1 Message Date
Vadim Zeitlin
9a95832822 compilation fix for STL build; also don't pass unknown string potentially containing percent signs to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 00:32:35 +00:00
Robin Dunn
7fc2ce00f7 Check wxUSE_DATAVIEWCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 00:10:31 +00:00
Robert Roebling
0155f1644a doc syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 19:58:12 +00:00
Vadim Zeitlin
fb582e40cc initialize wxMSWSystemMenuFontModule stuff on demand only, there is no need to create menu font if we never use owner-drawn menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 19:04:45 +00:00
Vadim Zeitlin
5e0ebb716a added wxNativeFontInfo() ctor from LOGFONT, this is convenient for MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 19:02:26 +00:00
Vadim Zeitlin
55e04bbd7e adjust the minimal menu item height to be lesser than the menubar height; some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 18:50:07 +00:00
Vadim Zeitlin
117f566fcc don't use wxSubwindows with a single element to store the dummy radio item, store it in radiobox itself (patch 1866053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 18:46:14 +00:00
Vadim Zeitlin
52b90aa7ab check that HWNDs are non-NULL before doing anything with them (part of patch 1866053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 18:43:23 +00:00
Robert Roebling
e39d30c05b Correct wxObjectDataPtr<> assignment from *T to not increase the ref count
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 15:12:46 +00:00
Robert Roebling
a27555e453 [ 1865141 ] wxNotebook::DeletePage can result in invalid page selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 13:02:51 +00:00
Robert Roebling
2861eaee45 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 12:18:34 +00:00
Robert Roebling
6d0f32ddb8 Commit correct docs for wxwxScopedPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 12:10:14 +00:00
Robert Roebling
89969a9128 Templatize wxScopedPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 12:09:22 +00:00
Robert Roebling
a6acecec40 Added docs to wxTrackable and wxWeakRef<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 10:59:02 +00:00
Václav Slavík
2712e31795 don't call wxString::Len() from operator==; use IsSameAs() instead of move the length check to there (for non-UTF8 builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 10:27:35 +00:00
Vadim Zeitlin
52ca4ec419 store ids of sub-items directly in wxSubwindows instead of using a parallel data structure (patch 1865577)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:54:33 +00:00
Vadim Zeitlin
fb25206791 compilation fix for MSVC: remove implicit wxStringImpl::iterator conversion to pointer as otherwise built-in operator+(void *, size_t) conflicts with our operator taking ptrdiff_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:46:42 +00:00
Vadim Zeitlin
fcd47970b8 correct wrong last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:36:24 +00:00
Vadim Zeitlin
3371873669 added another ParseFormat() overload for better backwards compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:35:28 +00:00
Vadim Zeitlin
ac2b78257b removed useless inclusion of wx/datetime.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:33:20 +00:00
Vadim Zeitlin
6a147dfefd compilation fix after wxDateTime::ParseFormat() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 01:20:45 +00:00
Vadim Zeitlin
71ebd60b06 make wxDateTime::ParseXXX() functions char*-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 00:17:45 +00:00
Vadim Zeitlin
b7c746d017 added WX_ASSERT_MESSAGE macro to simply using CPPUNIT_ASSERT_MESSAGE with wxString::Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:57:09 +00:00
Stefan Neis
f90913e2ac Allow using socket from both wxBase and wxCore (adopting to changes from r50831)
Use Unix' gsocketiohandler files for wxBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:47:01 +00:00
Stefan Neis
2c24e7adf0 Adopted OS/2 to DC reorganisation (r50348).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:37:10 +00:00
Vadim Zeitlin
b5343e065a only provide ptrdiff_t versions of verious operator+/- working with iterators instead of overloads for both int and size_t: this seems to be enough and the existing overloads were not enough for 64 bit builds where expressions such as iter+(ptr2-ptr1) didn't compile without extra casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:27:01 +00:00
Vadim Zeitlin
91a2809da0 set DEFAULT_wxUSE_AUTOID_MANAGEMENT to no under non-MSW platforms (required moving the toolkit detection earlier in configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:23:20 +00:00
Vadim Zeitlin
75a29ef15c added configure option for wxUSE_AUTOID_MANAGEMENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 21:01:38 +00:00
Vadim Zeitlin
1e9a3d4b67 fix type in --enable-ico_cur help string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 20:37:57 +00:00
Vadim Zeitlin
7920be660b PCH-less compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 19:00:52 +00:00
Vadim Zeitlin
9978ac8e4f fix crash in wxExecuteModule::OnExit() (never noticed before because it wasn't executed until the last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 19:00:09 +00:00
Michael Wetherell
808ac867cf Fix day names which were off by one (buildbot uses 0 for monday).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 18:26:02 +00:00
Michael Wetherell
86d7db7325 Move a couple of builds as thier usual machines are down.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 18:24:34 +00:00
Vadim Zeitlin
db7035e48a added wxWeakRef<T> (slightly modified patch 1860953)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 18:01:28 +00:00
Vadim Zeitlin
7ba4004452 small tweak to the close icon (patch 1674689)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 17:04:09 +00:00
Vadim Zeitlin
5a8561fc55 fix wxExecute thread shutdown and free wxExecuteData even if the associated process is still running (bug 1863908); fix memory leaks when the asynchronously launched processes are still running in the sample too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 17:01:05 +00:00
Vadim Zeitlin
4b8af4ac87 return false from Dispatch() if gtk_main_quit() was called (patch 1864846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:26:16 +00:00
Vadim Zeitlin
695f550bfa use wxFlexGridSizer for layout of the labels in the progress dialog (patch 1829312); minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:05:57 +00:00
Vadim Zeitlin
8084f8b7c6 add check for wxUSE_AUTOID_MANAGEMENT being defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 14:49:11 +00:00
Vadim Zeitlin
1d196b01ab add support of wxTE_PROCESS_ENTER (1/2 of patch 1831995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 14:45:46 +00:00
Vadim Zeitlin
cf2810aa39 use wxWindowIDRef to transparently implement auto-generated ids ref-counting (slightly modified patch 1835458)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 14:38:44 +00:00
Vadim Zeitlin
7d287e713f don't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded as a lesser evil (see Gentoo bug 203389)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 13:14:41 +00:00
Václav Slavík
2e3d68e97c disable eVC makefiles for sockets (no CLI targets possible on this platform)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 10:25:39 +00:00
Vadim Zeitlin
e2fc2bd51c add wxDL_QUIET flag; use RawGetSymbol() instead of GetSymbol() in wxDL_INIT_FUNC to avoid error messages for missing functions (this is also consistent with wxDL_INIT_FUNC_AW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 01:30:58 +00:00
Vadim Zeitlin
a73a4ab75e draw the bitmap manually under Win9x and 2000 because they don't support alpha transparency (but wxDC::DrawBitmap() does) (modified patch 1761598)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 00:51:38 +00:00
Vadim Zeitlin
6e3e6c8efb fix comparison of BYTE variable with -1 after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 00:27:41 +00:00
Vadim Zeitlin
3b118eda4e removed extra default clause accidentally added by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 21:00:10 +00:00
Václav Slavík
2fa54004f2 explicitly request that RPM spec files have Unix line endings with bakefile 0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 19:54:21 +00:00
Vadim Zeitlin
8ebec7dcd8 clean up wxEvtHandler::m_eventsLocker weirdness: there is no need to allocate it dynamically (as it's always done anyhow), this removes the need for ClearEventLocker() and OS/2 #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 19:07:52 +00:00
Vadim Zeitlin
ad294cb8f6 fix handling of OEM VKs in wxCharCodeWXToMSW() (patch 1810940)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:59:09 +00:00