Commit Graph

23776 Commits

Author SHA1 Message Date
Robin Dunn
1e63e75076 removed a SetFont(parent->GetFont())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:45:53 +00:00
Robin Dunn
d6375c6983 tweaks for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:45:20 +00:00
Robin Dunn
1f3192288b wxDefaultCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 03:04:57 +00:00
Václav Slavík
60c315ca1b fixed UNC paths handling (patch #975038)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:20:12 +00:00
Václav Slavík
6b0c752f23 test UNC filenames conversion on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:18:45 +00:00
Václav Slavík
a430a60fd1 compilation fix for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:18:11 +00:00
Dimitri Schoolwerth
dc302518e6 fixed bug #976725: "RETURN closes dialog instead of combobox dropdown" (applied fix suggested in the bug's comment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:12:30 +00:00
Vadim Zeitlin
e35594251f added Set(jdn) test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:54:34 +00:00
Vadim Zeitlin
8cc00d5fca fixed bug in wxDateTime::Set(jdn) when DST was in effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:53:15 +00:00
Vadim Zeitlin
ccd6aacd5d extracted some wxDateTime tests from console sample to the unit test suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:18:16 +00:00
Václav Slavík
30e5722f7f ngettext() macro was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:31:23 +00:00
Václav Slavík
d721baa9e6 allow msgids in !=English languages (based on Stefan Kowski's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:30:32 +00:00
Vadim Zeitlin
2b4f324ae2 fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl item (patch 978403)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 18:26:49 +00:00
Vadim Zeitlin
ce192630a3 use ES_AUTOHSCROLL for multiline controls as well (fixes 966692)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:42:59 +00:00
Vadim Zeitlin
0b90bda36a don't use wxHSCROLL for the rich edit window, not that it really works as expected it looks ugly in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:42:03 +00:00
Robin Dunn
fd543c7a7a Create the wxPython dir (for the reverse renamers) if it doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:39:31 +00:00
Václav Slavík
b2b225e777 default colours are not stored in m_fore/backgroundColour variables anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:31:29 +00:00
Václav Slavík
9a8477e134 refresh the window in OnSysColourChanged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:41:50 +00:00
Václav Slavík
0ac21dde62 no need to update default colours and refresh if syscolours change, wxWindow does it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:41:40 +00:00
Włodzimierz Skiba
21d09ecdee Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:04:36 +00:00
Chris Elliott
a4f1a5f286 fix bug with button doing nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:04:10 +00:00
David Elliott
723e9bc9d9 wxCocoa: don't force DEFAULT_wxUSE_SCROLLBAR=no
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:01:19 +00:00
Václav Slavík
127304e9c4 gtk_widget_get_display is documented to be GTK >= 2.2 thing -- fixes report about compilation failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:33:22 +00:00
Václav Slavík
daa38c004f GetFont doesn't return reference anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:30:37 +00:00
David Elliott
5369a0543e wxCocoa: Added wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:26:44 +00:00
Włodzimierz Skiba
d22004c4f4 Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:01:33 +00:00
Dimitri Schoolwerth
7738c2e59a fixed unresolved symbol main (occurred with wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:49:42 +00:00
David Elliott
d694d2800b Regenerated with Bakefile 0.1.4 (some WinCE files were added by someone else)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:06:28 +00:00
Włodzimierz Skiba
4b0881393c Private macro moved in waiting for DektopPolicy implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:55:33 +00:00
Václav Slavík
f604c65827 don't cache default colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:52:03 +00:00
Václav Slavík
9028704800 removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:51:19 +00:00
Václav Slavík
29094af062 removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:34:24 +00:00
Włodzimierz Skiba
718970e590 Preserve previous state of sizers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:57:33 +00:00
Włodzimierz Skiba
119727ad9e Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:44:16 +00:00
Włodzimierz Skiba
da7a860276 According to C99 standard (6.10.1 p3) defined() in #define is undefined, so we need replacement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 09:39:42 +00:00
Václav Slavík
477160b73f include bitmap.h not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 09:06:04 +00:00
Julian Smart
af905c94b5 Font correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 08:22:10 +00:00
David Elliott
9c85202a7a Remove SendDestroyEvent() call from SetNSView() and call it from ~wxWindow
and ~wxTopLevelWindow instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 00:46:51 +00:00
Vadim Zeitlin
64764f5077 fix for a warning in DLL build (patch 966823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:33:44 +00:00
Vadim Zeitlin
b7b97e7726 don't suppose that string literals can be casted to non-const char *, newer compilers complain about it (replaces patch 974652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:32:29 +00:00
Vadim Zeitlin
19fe5fd1dc don't pretend that type unsafe event table entry works, it doesn't any more (bug 969012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:25:46 +00:00
Vadim Zeitlin
12b58624e9 fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:20:27 +00:00
Vadim Zeitlin
b7f5f3cc75 don't overwrite initial controls value, explaining what its style is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:08:41 +00:00
Vadim Zeitlin
48e4ba4f82 use C++ linkage functions (and not extern C) with std::ptr_fun<>, Sun CC doesn't accept C linkage functions here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 22:57:13 +00:00
Vadim Zeitlin
e5a573a28b don't treat filenames starting with dot as having empty name and extension equal to the full name without dot (was done like this only for Unix and VMS before, now do it for all platforms)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:56:44 +00:00
Vadim Zeitlin
91a7f3b04d remove unnecessary (and provoking a warning under IRIX) const qualifier on the return value of a function returning bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:40:17 +00:00
Vadim Zeitlin
a1e101d056 fixed crash when string couldn't be converted to UTF8 in GetTextExtent() under GTK 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:35:14 +00:00
David Elliott
4842cc59b5 wxCocoa no longer uses the generic notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:24:44 +00:00
Robin Dunn
2148e7014d improved assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 19:59:21 +00:00
Václav Slavík
d01bf7ae34 corrected Cygwin instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 18:00:52 +00:00