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
Vadim Zeitlin
5c58a3a97c
meaning of left/right keys should be inversed in RTL locale (patch 1863866)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:53:12 +00:00
Vadim Zeitlin
1f2a1c3cd7
correct handling of positive quality values (2nd part of patch 1851381)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:44:36 +00:00
Vadim Zeitlin
23abaeaecd
more fixes to handling of the resolution chosen in GTK print dialog (patch 1864504)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:41:59 +00:00
Vadim Zeitlin
cd844951fa
don't remove handlers from wxPendingEvents list, they now do it themselves when they don't have any more events or are destroyed (should have been part of r51021)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 17:37:17 +00:00
Vadim Zeitlin
19c4d91638
process one event at once in wxEvtHandler::ProcessPendingEvents() to prevent crashes when a (pending) event handler destroys the event handler object itself; only add the event handler to wxPendingEvents list if it's not already there (and explicitly mention that an object can be present in this list only once in the comment) (replaces patch 1837719)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 17:29:20 +00:00
Vadim Zeitlin
17808a7596
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Vadim Zeitlin
001828ed69
compilation fix (remove default ctor already implemented by DEFINE_STD_WXCOLOUR_CONSTRUCTORS); make copy ctor inline and remove empty dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:04:34 +00:00
Vadim Zeitlin
728cf0ad42
compilation fix for wxUSE_DISPLAY==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:02:29 +00:00
Vadim Zeitlin
115be92b4f
set resolution of print preview from print data (modified patch 1851381)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 22:21:04 +00:00
Michael Wetherell
dd0af4bb63
Always write end record unless one has already been written.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 17:09:10 +00:00
Paul Cornett
e60f8377be
fix for last commit: didn't work if mask was white
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 06:58:11 +00:00
Paul Cornett
8805143613
Fix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second-most frequent color.
...
Simplify color cursor code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 05:28:22 +00:00
Vadim Zeitlin
b9e6623377
don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
e81fa3850e
also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:52:42 +00:00
Vadim Zeitlin
7ef2c8e163
no changes, just updated the URL of KB article in a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:05:15 +00:00
Václav Slavík
c157b27e66
Use realloc() and placement new to manage vector's memory instead of
...
copying objects in T[] array. This is both more efficient and
matches std::vector<> semantics (erase() destroys the object immediately,
T doesn't have to be default-constructible).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 22:58:29 +00:00
Julian Smart
cfa42cb87f
Suppressed the themed border by defining GetDefaultBorder
...
Set custom background style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:39:10 +00:00
Vadim Zeitlin
6f6b48f176
don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:27:31 +00:00