Commit Graph

13075 Commits

Author SHA1 Message Date
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
Stefan Csomor
547aafd263 added native pane splitter rendering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:02:45 +00:00
Kevin Ollivier
14f21d6d89 Fixes for wxWebKitCtrl to work with wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 02:53:49 +00:00
Václav Slavík
f9fb5408fa added wx-specific code and license info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:52 +00:00
Václav Slavík
33d4eef0b9 implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Václav Slavík
63c5efa344 allow classes derived from wxTopLevelWidnow to use other GTK widget than GtkWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:10:37 +00:00
Václav Slavík
3c5487b144 security fix to wxSingleInstanceChecker: check if the lock file was really created by us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:07:49 +00:00
Václav Slavík
1660c80f45 fixed crash on incorrect HTML input caused by uninitialized variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:07:30 +00:00
Václav Slavík
ac3c86ee7d don't call CopyBeforeWrite when returning non-const interator if the string is empty -- avoids assert and is not needed anyway since the iterator is never valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:05:59 +00:00
Stefan Csomor
64be92e214 continued spinning committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 15:54:59 +00:00
Stefan Csomor
3a9dc0619f fixes for mouse handling on 10.2 systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:49:20 +00:00
Stefan Csomor
d6fd667bc1 LocalToGlobal/GlobalToLocal Conversions with Carbon API, cleanup, hittesting corrected for 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:05:51 +00:00
Stefan Csomor
a9de2608ba LocalToGlobal/GlobalToLocal Conversions with Carbon API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:05:05 +00:00
Włodzimierz Skiba
6b12494db9 Removed condition of old Watcom times. Open Watcom doesn't have problems with wxAutomationObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 09:45:31 +00:00
Dimitri Schoolwerth
38923e84de added src/mac/carbon/display.cpp to project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 21:53:45 +00:00
Dimitri Schoolwerth
d3d49be805 removed tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 16:02:06 +00:00
Dimitri Schoolwerth
adb799d6ef allow compilation with wxUSE_CHOICEDLG set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:59:19 +00:00
Dimitri Schoolwerth
0b4f47a319 partially applied patch #895170: "Building with minimal setup.h - continuation"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:14:41 +00:00
Václav Slavík
39b44a399f don't use global variables if GTK provides mechanism to pass arguments to callback function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 12:50:40 +00:00
Stefan Csomor
bd24160658 make sure we are getting the gui mutex before shutting down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 19:43:32 +00:00
Václav Slavík
ac258944bc use shaped window for taskbar icon, so that background shows correctly behind icons with mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 17:01:57 +00:00
Dimitri Schoolwerth
a98ca1ae26 applied patch 961026: "Boundbox problem with rotated text"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 16:24:12 +00:00
Dimitri Schoolwerth
53a6ac21b8 applied valid part of patch #940683: "wxMessageBox autocompletion"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 15:45:24 +00:00
Stefan Csomor
3f42061b05 reopen app according to HIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:56:49 +00:00
Stefan Csomor
94f9b1f0f3 moving constructors to .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:52:16 +00:00
Stefan Csomor
86d8b74439 control data support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:51:29 +00:00
Julian Smart
43790a0d03 MacReopenApp implementation for restoring top-level window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:00:23 +00:00
Robin Dunn
b51320ce9d Take character size into account when calculating buffer size for
wxFileDataObject.  (Fixes aborts from NTDLL.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 00:46:47 +00:00
Julian Smart
1c9e321b3c Reset m_inSetFocus for other exit point in this function:
could explain why the focus protection code was broken


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 18:45:24 +00:00
Julian Smart
f463f87dac Make the focus recursion test only for Mac since it breaks MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 18:43:27 +00:00