Commit Graph

23648 Commits

Author SHA1 Message Date
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
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
David Elliott
e835546c77 Added Bakefile conditions used by recently updated samples/dialogs/Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 15:56:10 +00:00
Vadim Zeitlin
956495caff moved wxEntry(HINSTANCE, ...) declaration to wx/msw/app.h from wx/app.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 11:07:23 +00:00
Vadim Zeitlin
dcc19b5b38 fixed wxEntry() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 09:58:37 +00:00
Włodzimierz Skiba
af2799b7bb Maximized dialogs for SmartPhone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:29:42 +00:00
Włodzimierz Skiba
095b80e2b5 Conditional compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:26:36 +00:00
Włodzimierz Skiba
64c794f682 Choices dialog adjustement to SmartPhone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:23:19 +00:00
Włodzimierz Skiba
dc96b1b674 Less text for smaller screen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:17:42 +00:00
Włodzimierz Skiba
6c1035d3c1 Minimize diff for ports where features are not possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:15:54 +00:00
David Elliott
6fbcc6cac3 Observe NSControlTintDidChangeNotification in the application delegate.
TODO: Actually implement this to do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 04:16:22 +00:00
Robin Dunn
d8d39b51e6 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 23:08:44 +00:00
Robin Dunn
c0e6c05138 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Robin Dunn
478ba84485 Fix for drag object bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:39:24 +00:00
Robin Dunn
fe5e444a73 Changes needed to accomodate wxTheClipboard now being a macro for wxClipboard::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:37:35 +00:00
Robin Dunn
71132988f8 change how email is sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:33:45 +00:00
Vadim Zeitlin
e4edebc096 removed Direction_Max from Direction enum for consistency with the MSW version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:36:34 +00:00
Vadim Zeitlin
82baa5e4f1 removed asserts to suppress gcc 3.4 warnings about condition being always true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:35:22 +00:00
Włodzimierz Skiba
9c8cd1061f Reordered condition to make diff of other port smaller.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:46:46 +00:00
Włodzimierz Skiba
ee0f553126 Array of strings is needed regardless of wxUSE_CMDLINE_PARSER.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:35:38 +00:00
Włodzimierz Skiba
b4954d198e Better conditions within dialogs sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:31:39 +00:00
Václav Slavík
9d701f0ebf reverted previous revision, old clipboard API is still used by wxMSW itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:13:18 +00:00
Václav Slavík
831dd3a1e8 don't export deprecated interface to clipboard from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:58:52 +00:00
Václav Slavík
2af18715e5 wxClipboard changes compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:54:35 +00:00
Włodzimierz Skiba
ef6d716b00 Different default buttons for native menubars on Smartphones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:31:04 +00:00
Václav Slavík
eaee975aca identify more compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 07:39:58 +00:00
Julian Smart
51e14ebe64 Crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 22:21:13 +00:00
Václav Slavík
0e4a70455a more recognized response types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:19:59 +00:00
Václav Slavík
5dc43d1fc5 create wxTheClipboard on first use, not startup -- this fixes crash in console-only apps that were linked against wxGTK's 'core' shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:19:26 +00:00