Commit Graph

38883 Commits

Author SHA1 Message Date
Julian Smart
bdee9d109c Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:30:26 +00:00
Robert Roebling
87f0efe2d7 Most of FM's wxDataViewCtrl patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 12:32:38 +00:00
Robert Roebling
a9fdf82418 Minor parts from FM's wxDataViewCtrl patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 11:35:58 +00:00
Robert Roebling
4a11340a1c [1660792 ] wxObject::Dec/IncRef and wxObjectDataPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 09:16:35 +00:00
Vadim Zeitlin
c71b212607 do adjust scrollbars in our EVT_SIZE handler now that we turn them off correctly (otherwise scrollbars wouldn't be shown correctly when the grid becomes too small to show its contents entirely after changes in rev 1.410)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 02:35:50 +00:00
Julian Smart
29392c81aa IsShown shouldn't cause empty sizers to not have their positions calculated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 22:12:58 +00:00
Vadim Zeitlin
b2df5ddf6a don't delete inexistent column indices in DeleteCols()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 17:41:58 +00:00
Vadim Zeitlin
97a8589874 suppress warning about casting -1 to guint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 14:47:37 +00:00
Julian Smart
b6a9c1fe89 Added support for hover bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 08:16:37 +00:00
Vadim Zeitlin
23a5584da6 update from Ivan Masar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 02:21:36 +00:00
Vadim Zeitlin
6e26499721 return size without decorations from size_request GTK callback in wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-15 12:38:55 +00:00
Vadim Zeitlin
f030b28c93 use AllocExclusive() instead of duplicating its code in wxFont-specific Unshare(); this fixes recreating the font whenever it is modified (even if it's not shared) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 20:35:24 +00:00
Vadim Zeitlin
261205e4e5 corrected StartDoc() return value testing broken in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-14 17:52:17 +00:00
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