Commit Graph

39020 Commits

Author SHA1 Message Date
Vadim Zeitlin
c5bc21bd1f fix warning about unused variable in release build by using standard wxLogLastError() if StartDoc() fails instead of duplicating it here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:13:06 +00:00
Vadim Zeitlin
744b73167b fix warning about unused TRACE_MASK variable in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:12:12 +00:00
Vadim Zeitlin
0ad2a19e42 corrected IMPLEMENT_DYNAMIC_CLASS macros to ensure that the controls are seen to derive from wxControlWithItems by the wx RTTI code (patch 1659708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:10:08 +00:00
Vadim Zeitlin
a41b5c2fd4 added wxEL_NO_REORDER style (modified patch 1655969)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 16:00:14 +00:00
Vadim Zeitlin
e3a50b565b update from Adiel Mittmann
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 13:35:47 +00:00
Vadim Zeitlin
aa05661d10 Slovak translation added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 13:32:46 +00:00
Vadim Zeitlin
36b89edff4 removed superfluous semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:20:12 +00:00
Vadim Zeitlin
fe9183e785 various compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:15:46 +00:00
Włodzimierz Skiba
c5dc89a1b1 Avoid do-nothing virtuals in WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 17:08:36 +00:00
Włodzimierz Skiba
261fb04124 Make QS_ALLPOSTMESSAGE available everywhere regardless SDK limitations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:30:53 +00:00
Włodzimierz Skiba
b70362998b WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 15:52:15 +00:00
Włodzimierz Skiba
b5085b0273 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 15:49:09 +00:00
Julian Smart
5edb3cb52d Pass correct values to spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:01:58 +00:00
Robert Roebling
bb5b728505 Hack to support iso8859 and other wrongly formated
filenames in UTF8 locales for file DnD as we do
    for the native GTK+ file dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 20:31:11 +00:00
Vadim Zeitlin
9390546335 clarify Wait() semantics (see patch 1652076)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 19:17:18 +00:00
Vadim Zeitlin
68f146206f fixed LastRead() after Read(wxOutputStream&) (patch 1658301)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 19:08:13 +00:00
Vadim Zeitlin
419c224122 compilation fix for last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 16:35:02 +00:00
Vadim Zeitlin
64b989fe0b suppress gcc warnings about invalid format strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 15:32:52 +00:00
Vadim Zeitlin
06b5b35265 don't run WrongFormatStrings test with system printf, it doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 14:52:38 +00:00
Václav Slavík
45d23373e0 fixed syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:59:37 +00:00
Vadim Zeitlin
9bc9312015 update from Reinout van Schouwen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:21:11 +00:00
Vadim Zeitlin
5a572f6c0a removed spurious cast of GetTruncatedJDN() return value to WeekDay enum which breaks the code with Watcom (and maybe others) (bug 1618853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:04:24 +00:00
Robert Roebling
be4bb86efd Fix wxGTK wxListBox::Append() to return correct
index (also for sorted list).
  Use wxControlWithItems::Insert(..) methods from
    wxListBox (can probably be removed).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 14:31:40 +00:00
Robert Roebling
cb738b8baf pixbuf cursor support is for GTK 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 09:27:28 +00:00
Vadim Zeitlin
79e6631727 made GetStrings() const (patch 1655975)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:13:12 +00:00
Vadim Zeitlin
a19918eb35 more const correctness (slightly modified patch 1655991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:08:33 +00:00
Vadim Zeitlin
f8a280159d check for wxUSE_MDI which is needed by this code (patch 1656080)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:04:19 +00:00
Vadim Zeitlin
9f556d1dd6 added support for colour cursors in wxGTK (patch 1655576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 03:02:34 +00:00
Vadim Zeitlin
e216f7c8cf don't Printf() the string into itself (replaces patch 1655318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:55:21 +00:00
Vadim Zeitlin
fab86f26bf miscellaneous minor corrections (patch 1652327)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:53:05 +00:00
Vadim Zeitlin
d12dce0f7f made AddPendingEvent() virtual (patch 1652077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:42:40 +00:00
Vadim Zeitlin
bc3863bd16 fit the control when its real contents is attached and not simply (re-)layout it as it has no effect (patch 1644924)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:33:17 +00:00
Vadim Zeitlin
9f7a07ab9f warn if wxVsnprintf() is not being used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:27:29 +00:00
Vadim Zeitlin
7de1a0d196 added test for %c and other minor changes (patch 1643843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:23:19 +00:00
Vadim Zeitlin
13ab552e4d don't use strlen() to verify the length of the string as it can contain embedded NULs (patch 1643843; closes bug 1642284)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:22:09 +00:00
Vadim Zeitlin
3c77aabe59 define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0, this fixes linking in this case (replaces patch 1646340)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:14:49 +00:00
Vadim Zeitlin
20160a32ea write the entire file at once in Flush() instead of doing it line by line (patch 1656509)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:09:39 +00:00
Vadim Zeitlin
e74d43ab63 compilation fix for 64 bit platforms (where size_t is not unsigned int)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:03:34 +00:00
Vadim Zeitlin
18138662ef update the popup menu item when it's [un]checked too, as it already happens for the items in the main menu bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:58:11 +00:00
Vadim Zeitlin
bb596005f5 wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized under wxGTK too now; documented this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:27:26 +00:00
Vadim Zeitlin
d43eb2a0d5 return the restored window size from GetSize() when window is minimized (for consistency with wxGTK and also for convenience)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:21:06 +00:00
Vadim Zeitlin
1e93d59553 changed GetFromWindow() to take const pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:13:22 +00:00
Vadim Zeitlin
2ee322d90c corrected version in the libraries names: it's only 2 digits even in development branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:50:43 +00:00
Vadim Zeitlin
a6cdd52188 make GetSize() return the size of the window including the decorations and updated SetSize() to account for this as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:44:52 +00:00
Vadim Zeitlin
676e9e35f2 fix compilation with WXWIN_COMPATIBILITY_2_6 off (and probably a bug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 13:48:45 +00:00
Julian Smart
b9dac1ab88 Don't optimize if there are child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 09:40:54 +00:00
Julian Smart
a61c912241 Reverted renderer changes and just use window variant within renderer functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Vadim Zeitlin
e0666bdc7b added EVT_MOUSE_CAPTURE_LOST handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 01:36:10 +00:00
Julian Smart
48e9cac2ad Updated the mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 21:45:07 +00:00
Julian Smart
f8e1a81f3e Added size constants to allow drawn control parts to match the window variant,
initially on Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:16:24 +00:00