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
22aff5795e
handle style changes correctly in GtkPizza
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 21:30:14 +00:00
Václav Slavík
984e8d0b6b
interpret m_has..Col, m_hasFont correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 18:59:43 +00:00
Václav Slavík
7074ce3577
moved DoApplyWidgetStyle to wxWindowGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 17:49:26 +00:00
Robin Dunn
fe161a2685
Controls will readjust their size and minsize when SetLabel or SetFont
...
are called. Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality. Made SetBestSize public under the
SetBestFittingSize name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Robin Dunn
f8e045e24b
Give wxWindowGTK::ApplyWidgetStyle an implementation too so
...
non-control windows can also change colours, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:30:32 +00:00
Václav Slavík
5edef14ec8
reset fg/bg colour and font to default if set to wxNullColour/Font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:01 +00:00
Robin Dunn
44dfb5ce92
Set/Reset ThemeEnabled when changing the fore/background colours.
...
Using wxNullColour will reset to defaults.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:31:13 +00:00
Robin Dunn
b25630fb6c
Hide the dialog after running it as it may be a bit of time before it
...
is destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:51:11 +00:00
Václav Slavík
e236828da1
it's OK to set background,foreground colour even with theming now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 17:01:51 +00:00
Václav Slavík
38de94271f
fixed incorrect handling of scaled fonts and fixed GetNativeFontInfo to return meaningful data with GTK1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:00:18 +00:00
Julian Smart
8700aedc16
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 22:30:08 +00:00
Julian Smart
eedc82f4e9
Navigate corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:55:18 +00:00
Julian Smart
f5f3247dcc
Tests for wxTE_PROCESS_TAB again in line with other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:49:54 +00:00
Václav Slavík
f40fdaa339
fixed GTK styles handling:
...
1. don't modify the style unless something changed
2. use gtk_widget_modify_style instead of gtk_widget_set_style, the latter is not recommended by GTK+ developers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 17:34:00 +00:00
Václav Slavík
1543645813
respect GTK+'s theme tooltip colour settings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:27:26 +00:00
Václav Slavík
90b85bfcde
fixed background rendering if GetThemeEnabled()=true with GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 13:09:16 +00:00
Václav Slavík
2f35f36bbc
fixed setting of initial font under wxGTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 12:36:26 +00:00
Václav Slavík
ebe4745154
fixed pasting of Unicode strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:37:03 +00:00
Václav Slavík
810324c83b
don't confuse wxDF_UNICODETEXT and wxDF_TEXT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:24:08 +00:00
Vadim Zeitlin
fbbc1982a3
fixed typo in wxFrame::SetStatusBar() (bug 970516)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 16:50:31 +00:00
Václav Slavík
8ccac79865
restored colour labels until we have more information, it seems to work with all GTK2 versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 14:49:21 +00:00
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
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
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
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
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
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
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
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
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
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
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
Julian Smart
e7d9c39867
Reverted config/resource name change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 10:49:43 +00:00
Václav Slavík
98a8daf4cf
corrected previous commit's wrongly applied patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 12:55:56 +00:00
Dimitri Schoolwerth
2a21ac1590
applied patch #935127 : "wxDIALOG_MODAL and wxDIALOG_MODELESS cleaning"; some cosmetic cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 12:44:56 +00:00
Václav Slavík
c663fbea68
implemented wxTE_RIGHT, wxTE_CENTRE for wxGTK2 (patch 957687)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 10:35:34 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
c156411a08
Use gtk_init_check instead of gtk_init so that we can racefully exit
...
(i.e. raise an exception in wxPython) instead of just terminating the
app.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:14:10 +00:00
Robert Roebling
47ca35dd35
The markup code for wxStaticText doesn't work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 17:33:46 +00:00
Robert Roebling
ebbb22bd7f
Improve default size for wxGauge and wxChoice.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 15:08:30 +00:00
Robin Dunn
a72f1d162b
Patch [ 952969 ] Parentless windows forced to center of screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:05:38 +00:00
Robin Dunn
313feadc84
Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
...
timer as the event object in wxTimerEvents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Vadim Zeitlin
efd17a1d4f
split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:29 +00:00
Robin Dunn
16190e2a11
Oops, forgot to cleanup some commented-out code before last commit.
...
Setting attributes seems to work okay on both multiline and single
line widgets for both wxGTK and wxGTK2, so don't disable it for
multiline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:33:09 +00:00