Commit Graph

15354 Commits

Author SHA1 Message Date
Julian Smart
e4edaf5cec Give controls on frame statusbar a chance to paint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 07:06:53 +00:00
Mattia Barbon
f8ab089a49 Added code for 3 state checkbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:01:06 +00:00
Mattia Barbon
dd12575372 This code is now shared with wxX11: remove.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:55:06 +00:00
Mattia Barbon
98c627a498 Compilation fix for wxUSE_STL == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:47:41 +00:00
Mattia Barbon
78c67f19b3 wxMotif compilation fix and unused variable warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:46:05 +00:00
Stefan Csomor
86a9144fd0 synching down and up events for the synthetic right mouse handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 16:29:07 +00:00
Stefan Csomor
e996f50942 fixing the carbon cfm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 16:20:27 +00:00
Stefan Csomor
1f919f38c8 SetParam should be explicit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 16:16:23 +00:00
Václav Slavík
6466d41e94 corrected EVT_TASKBAR_XXX macros to use wxTaskBarIconEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:19:35 +00:00
Dimitri Schoolwerth
3616829292 fixed float to short int casting warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 22:30:22 +00:00
Dimitri Schoolwerth
4a5f235122 fixed ambiguous call to wxMacCarbonEvent::SetParameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 22:12:36 +00:00
Václav Slavík
dae73d7473 added wxTaskBarIcon::CreatePopupMenu API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:56:29 +00:00
Dimitri Schoolwerth
2de78beb93 fixed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:53:59 +00:00
Dimitri Schoolwerth
be06074873 fixed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:12:15 +00:00
Stefan Csomor
72213209b7 adaptions for m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 17:56:51 +00:00
Kevin Ollivier
5b8f917c30 Making wxUSE_WEBKIT for optionally building wxWebKitCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:07:28 +00:00
Václav Slavík
393c836c33 changed wxColourData default palette to NULL colours instead of white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:03:03 +00:00
Václav Slavík
274ad000d2 added native wxColourDialog for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:02:14 +00:00
Václav Slavík
a2b99ff5a5 1. changed wxColourData default palette to NULL colours instead of white
2. added native wxColourDialog for GTK2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 15:58:05 +00:00
Václav Slavík
3b9faf4c54 GdkColor<->wxColour values conversion is not dependent on size of integer types, values range is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 15:57:04 +00:00
Václav Slavík
633c71efce set transiency relation so that the WM can do better job of positioning the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 11:40:06 +00:00
Václav Slavík
91cf58652e be good citizen, don't force window position; instead, set transiency relation so that the WM can do better job of positioning the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 11:39:45 +00:00
Václav Slavík
e39472990e title needs to be translated, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:28:25 +00:00
Julian Smart
a485ee6f5a If we have multiple filters in a Save dialog, don't use
kNavPreserveSaveFileExtension since it suppresses multiple
filters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:21:16 +00:00
Václav Slavík
50f00d0c99 use simple template instead of macro, it's easier to debug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:03:29 +00:00
Stefan Csomor
72bb8cf511 introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 08:19:00 +00:00
Stefan Csomor
21fd55291b introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 07:28:59 +00:00
Václav Slavík
85f6b408df split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Václav Slavík
4772f8e198 wxGetenv was incorrectly implemented, caching prevented it from reflecting environment changes -- now fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 20:08:43 +00:00
Václav Slavík
67479dbd13 fixed wxSetEnv to correctly set variable in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:39:57 +00:00
Julian Smart
041295149d If several doc templates use the same document and view classes, they should
share their filters in Save As


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:04:16 +00:00
Václav Slavík
bbce0c0ce6 fixed wrong tooltip colour -- don't mess with widget styles, use the defaults and let GTK+ do its job
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 18:40:13 +00:00
Julian Smart
217b71400f Separated creation and initialisation of a document via its doc template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:19:39 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Julian Smart
a48b2ed692 Initialise hash table with string key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 09:41:14 +00:00
Robin Dunn
6376cdc3a5 Fix compile errors when using gtk 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 22:38:13 +00:00
Robin Dunn
f325fa52de Default arg for Id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:57:27 +00:00
Robin Dunn
b2fcfd94d3 On wxGTK2 the label woudl not be realigned if SetLabel was called with
a new label.  Changed it to use gtk_button_set_label so that the
widget would care of doing it, and also to create with widget with
gtk_button_new_with_mnemonic so the mnemonic behaviour would be
preserved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:26:49 +00:00
Robin Dunn
fe3d568d3d Don't force a smaller icon size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 19:39:11 +00:00
Julian Smart
5dc224630b GTK+ 2.0 can't compile egg tray code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 12:19:22 +00:00
Kevin Ollivier
be98622c86 Yet more fixes for wxNotebook compatibility...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 00:48:55 +00:00
Kevin Ollivier
e69d17754d wxWebKitCtrl now properly detects a wxNotebook anywhere in the hierarchy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 00:26:57 +00:00
Robin Dunn
eb03e0e714 Handle the (probably rare) case where the icon has no mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:42:57 +00:00
Robin Dunn
be698f5030 remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
several releases now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:26:42 +00:00
Włodzimierz Skiba
f803b25b44 DMC warning fix, code cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 15:20:14 +00:00
David Elliott
fa7de3b09a wx/notebook.h is not included from wx/wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 14:39:22 +00:00
Václav Slavík
9c4fc03fa3 calling a variable 'stat' was exceptionally stupid idea...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 12:55:51 +00:00
Julian Smart
8d52d6cc3f Needs a foreground colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 08:47:41 +00:00
Stefan Csomor
f6e3849c07 we have to be able to tell whether a control can be focused by the os before a SetFocus is issued, otherwise native focus handling is not in synch...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 08:21:46 +00:00
Stefan Csomor
1bec2ee494 uppercasing menu shortcuts for non-command keystrokes, allowing non-command accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:27:22 +00:00