Włodzimierz Skiba
340bfb43eb
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 14:19:41 +00:00
Włodzimierz Skiba
cb8cc2506b
Get/SetTitle only for wxTopLevelWindow (wxGTK part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 11:11:22 +00:00
Kevin Hock
fa349e95cc
Use toplevel parent rather than immediate parent as color dialog's parent window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 02:50:00 +00:00
Mart Raudsepp
df034cc6d5
Compilation fix...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 00:26:34 +00:00
Kevin Hock
345bdf13c0
For consistency with other ports, send TEXT event after SELECTED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 19:10:29 +00:00
Vadim Zeitlin
d32e78bd42
refactored wxGTK scrolling: it has now fully-functioning wxScrollHelper and a lot of duplicate code was removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:24:27 +00:00
Vadim Zeitlin
87a3ebe978
added GtkUpdateScrollbar; folded some code duplicated for horz/vert orientations in a single branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:22:47 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Włodzimierz Skiba
edc536d358
wxColour source cleaning. Corrections to 'const unsigned char' within wxColour docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 16:22:44 +00:00
Włodzimierz Skiba
1a1498c08b
Fix for mistake with const for non pointer/reference with corrections in documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 18:14:41 +00:00
Włodzimierz Skiba
46562151eb
wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:13:42 +00:00
Vadim Zeitlin
17f504ec9d
fix the size of the created subbitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-01 15:27:30 +00:00
Vadim Zeitlin
43dc5fb140
wxGTK1 compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-28 09:30:16 +00:00
Włodzimierz Skiba
11e62fe658
wxItemContainerImmutable::FindString unified.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 17:05:26 +00:00
Mart Raudsepp
dfdc483a23
Revert revision 1.102.2.2:
...
date: 2002/10/13 21:03:45; author: RR; state: Exp; lines: +4 -2
Combox gets its own SetFocus()
wxDialog() set the focus to itself when shown. This will
the propagate to some control in the dialog. I am not
sure if this will override preceding user's call to
SetFocus() in one of the child windows.
=========================
It will override preceding users call to SetFocus, effectively introducing bug #1288889 (wxWindow::SetFocus does not
work on modal dialogs, and therefore wxButton::SetDefault does not work either). Reverting fixes that. Need to
investigate why it was needed in relation to Comboboxes, but SetFocus/SetDefault breakage is worser imho, hence the
revert for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 12:53:29 +00:00
Vadim Zeitlin
4e115ed2c7
fixed variable shadowing icc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:29:42 +00:00
Vadim Zeitlin
9f542367b7
fixed warnings about pointer to integer cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:36:10 +00:00
Vadim Zeitlin
28c91b7deb
removed more extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:28:04 +00:00
Vadim Zeitlin
c77a67962c
use wxIsSameDouble() and wxIsNullDouble() for warning-less double comparison of doubles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:27:27 +00:00
Michael Wetherell
20ceebaa87
Fixes for include guards, patch 1256967 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:49:40 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
bd090f77ee
position is always unsigned in InsetPage(), no need to compare it with 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:08:36 +00:00
Michael Wetherell
f6551618d4
Fix for crash in ~wxWindow() on solaris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 07:17:31 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Mart Raudsepp
ef1a9be407
[wxGTK] Remove wxTLW::RequestUserAttention related backwards compatibility hacks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-21 07:04:58 +00:00
Julian Smart
02c3e53b45
Applied patch 1283609 GTK window dtor + wxGrid + cellEditor ==> crash
...
David Surovell, OSAF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 10:11:36 +00:00
Włodzimierz Skiba
389076f148
wxUSE_SPLINES markup and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-15 15:26:27 +00:00
Vadim Zeitlin
1c36a9d335
use given position for page insertion instead of trying to find the page to insert before (bug 1287730)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-11 11:55:48 +00:00
Mart Raudsepp
ff33410699
[wxTLW-GTK] Don't connect to the configure_event twice. This caused double wxMoveEvents being emitted, and some other
...
stuff done on the same data twice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-04 10:52:11 +00:00
Mart Raudsepp
3dc786e02e
-Wundef fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-04 10:33:09 +00:00
Kevin Hock
05036fe062
Multi-thread fix from Angel [ patch 1281057 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-03 01:01:06 +00:00
Mart Raudsepp
42c60e749f
[wxGTK2] Plug memory leak in wxMemoryDC (approx. 525 bytes per object)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-02 05:14:21 +00:00
Mart Raudsepp
d332c51456
[wxGTK2] Don't duplicate code inside wxFontRefData::InitFromNative()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 00:25:19 +00:00
Mart Raudsepp
8a15e8ba7a
[wxGTK2] Move wxFontRefData::SetPointSize to wxNativeFontInfo. Implement SetFaceName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 00:03:27 +00:00
Mart Raudsepp
7533ba252b
[wxGTK2] Move wxFontRefData::SetStyle/SetWeight to wxNativeFontInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:56:01 +00:00
Mart Raudsepp
8c8c4b717a
[wxGTK2] Don't query native font for underlined, but return the set value - storing it natively would likely require
...
the usage of a PangoAttribute, and I'm not sure if that's even different than just storing it inside wxFontRefData.
Not investigating further as PangoAttribute addition would require ABI compatibility breakage anyhow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:27:39 +00:00
Mart Raudsepp
b67d14bee0
[wxGTK2] Do what we (I) can wrt the win32 centric wxNativeFontInfo::GetFamily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:19:57 +00:00
Mart Raudsepp
02d9204cad
[wxGTK2] wxFont::Get* - Query native font for information, if the wxFont has an associated wxNativeFontInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 17:22:44 +00:00
Mart Raudsepp
f26623c817
[wxGTK2] gtk+-2.8.0 compatibility. Removed the usage of pango_x_get_context to not depend on a fully deprecated
...
pangox library, which is not pulled in with gtk+-2.8.0. The pango_x_get_context call was (arguably) making font
drawing on top of a wxDC slightly faster on (especially remote) X11 in case of non-antialiased fonts (I was unable to
find a non-antialiased font that actually returns true for GetNoAntiAliasing()).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 21:40:44 +00:00
Vadim Zeitlin
40eb3606eb
added GetCurrentSelection(); made GetSelection() behave as documented (and not as before); don't send TEXT_UPDATED events until the combobox is closed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 14:22:41 +00:00
Mart Raudsepp
88d197753d
Expand tabs, identation/whitespace fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 09:50:13 +00:00
Mart Raudsepp
86e69fa54a
Expand tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 09:35:27 +00:00
Mart Raudsepp
21d23b882f
[wxGTK2] wxTextCtrl::XYToPosition(): Return -1 if x or y is out of range
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 08:53:48 +00:00
Vadim Zeitlin
4106cebb95
initialize send_event field of GdkEventExpose we generate (bug 1245864) (Robert, please review this if possible)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 11:58:13 +00:00
Mart Raudsepp
50aee613a3
[wxGTK2] wxTextCtrl: Implemented support for wxTEXT_ALIGNMENT_{LEFT,RIGHT,CENTRE} attributes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 14:57:10 +00:00
Mart Raudsepp
f29a481a66
[wxGTK2] multiline wxTextCtrl: Implement XYToPosition, PositionToXY and GetLineLength natively, making them not take
...
an eternity per call. Also closes bug #1250464 . Not sure if this should go into changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 13:14:36 +00:00
Michael Wetherell
20123d4958
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +00:00
Mart Raudsepp
b5ab6d19d3
[wxGTK] wxFileDialog: Use native overwrite confirmation if possible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 16:39:57 +00:00
Mart Raudsepp
b3f4c57077
Mostly cosmetical preprocessor check modifications to last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 15:39:46 +00:00
Mart Raudsepp
fee7a683ed
[ 1222406 ] Fix for BadMatch X errors with wxGLCanvas under wxGTK - Nathan Cournia.
...
Modified to not break compilation pre-gtk2.2. Older gtk+ versions than 2.2 probably still need a workaround to
the original problem (the code is identical to them than before). Alas, I've never been able to reproduce the
problem. Testing appreciated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 15:36:18 +00:00
Mart Raudsepp
b4d06fb78d
Whitespace fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 15:58:36 +00:00
Mart Raudsepp
6925aa36f2
slight CPP logic fix in my wxTLW::RequestUserAttention code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 00:13:34 +00:00
Mart Raudsepp
dca92ddfbf
wxGTK: Implemented wxTLW::RequestUserAttention()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 23:32:42 +00:00
Vadim Zeitlin
3b2931fbf5
ShowFullScreen() shows the window if it was still hidden (modified patch 1231514)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 22:03:40 +00:00
Michael Wetherell
29c326b745
Support comma separated list in G_FILENAME_ENCODING
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-26 14:16:29 +00:00
Mart Raudsepp
14631f7fa5
#if wxUSE_DATAOBJ guard src/gtk/dataobj.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-25 19:40:46 +00:00
Włodzimierz Skiba
0a164d4c4e
[1231183] 'cleanup: mismatched indentation' and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 18:01:46 +00:00
Robert Roebling
c05cc2c727
Apply patch for querying tooltip colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 06:59:57 +00:00
Robert Roebling
c4e8770615
Applied GTK clipboard end of string patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 06:46:32 +00:00
Mart Raudsepp
8c6785f071
Optimize wxGTK2 wxTextCtrl::GetLineText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 22:11:28 +00:00
Robert Roebling
b7a4965413
Apply mask origin patch for blitting.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 19:22:54 +00:00
Václav Slavík
924b84ab94
changed exceptions handling to work under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 08:20:50 +00:00
Mart Raudsepp
cc35003aa4
Add some missing runtime gtk+ version checks. There is more to spot.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 13:00:42 +00:00
Mart Raudsepp
29a7bba6b7
Use the toplevel widget as the parent in gtk_file_chooser_dialog_new call.
...
If hierarchy is bad, base classes would assert.
Fixes bug #1206516
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 12:41:20 +00:00
Włodzimierz Skiba
d0ee33f5c6
'[1219035] cleanup: miscellaneous' and minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Michael Wetherell
abc736fd0e
Declare gtk_icon_size_lookup if it is missing from the GTK+ headers (Bug 1177079)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 12:04:15 +00:00
Stefan Neis
5696ebb375
Include rawbmp.h only for __WXGTK20__ (unneeded for GTK12 anyway and
...
problematic for old compilers).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 09:30:42 +00:00
Włodzimierz Skiba
91af089567
Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:49:36 +00:00
Włodzimierz Skiba
902725eefe
Source cleaning inspired by and included in patch '[ 1215450 ] cleanup: unreachable code.'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 16:47:04 +00:00
Julian Smart
ed56a258b1
Reverted last two changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 10:16:50 +00:00
Julian Smart
27d2f680a7
Moved allocation of m_imData or key down gives seg fault
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 09:49:29 +00:00
Julian Smart
418cf02e34
Applied patch [ 1207162 ] wxTextCtrl::SetStyle fix for overlapping calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 08:17:57 +00:00
Robin Dunn
21a7ac1820
Save the last key event so EVT_CHAR events can filled in with extra
...
data like mouse pos, timestamp, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 03:32:32 +00:00
Julian Smart
34a246df34
Temporary fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 21:56:38 +00:00
Julian Smart
13b22a6738
Replaced embedded images
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 16:17:57 +00:00
Julian Smart
22973fe304
Applied Vaclav's gtk_icon_size_lookup_for_settings suggestion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:53:06 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Julian Smart
dd7641ef10
Applied patch [ 1211219 ] Build fix for configurations without wxUSE_LOG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 09:08:49 +00:00
Robin Dunn
8e1c7e633e
added wxART_NEW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 20:54:45 +00:00
Robin Dunn
bfeb1e5838
Don't add extra size to the height, it makes the combo way too big.
...
(Patch from Ricardo Pedroso.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 17:42:07 +00:00
Kevin Hock
caf3e97f15
May as well add the GTK version runtime checks for the other window styles too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 16:19:29 +00:00
Robert Roebling
81a3313aa0
Add runtime 2.4.0 check.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 16:06:35 +00:00
Robert Roebling
bbcd40851c
Add conversion to and from menu hotkeys and
...
their GTK pendants.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 16:05:29 +00:00
Robert Roebling
ace35c6293
Apply minimal DC patch.
...
Implement GetDepth for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 10:01:18 +00:00
Robert Roebling
7cb93e4565
Setting the background colour of a wxWindow or
...
wxScrolledWindow etc. should only affect the
actual background, not the border (sunken)
or the scrollbars etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 09:42:02 +00:00
Kevin Hock
2fca39c9aa
Add wxSTAY_ON_TOP support [Patch 1206023]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 04:15:22 +00:00
Robert Roebling
e31126cbd7
committed aupdated patch that adds support for
...
bitmaps in submenus and simplifies some of
the code in GtkAppend()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 18:09:18 +00:00
Robert Roebling
5b2e23bff6
Prevent unnecessary assert when someone tries to
...
move the native file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 19:13:28 +00:00
Robert Roebling
2f41910aa0
Added support for DrawArc and Blit to GNOME print.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-24 15:29:50 +00:00
Robert Roebling
121c09cd1a
Added spline support to GNOME print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-24 09:00:29 +00:00
Robert Roebling
16744532da
Implement DrawEllipticArc for GNOME print.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-24 07:57:10 +00:00
Robert Roebling
a92964a239
Implented DoDrawPolygon() for GNOME print.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 16:41:53 +00:00
Michael Wetherell
d24b23b76e
Support for G_FILENAME_ENCODING=@locale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 23:11:44 +00:00
Robert Roebling
a8e607d963
Minor correction to the wxMenuItem::SetText() patch.
...
It also works under GTK 1.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 18:21:30 +00:00
Robert Roebling
98f297837a
Readded test for wxMenuItem::SetLabel() to sample.
...
Support for hotkeys in names functions for GTK+2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 16:53:55 +00:00
Robert Roebling
088ddc4e37
This should make the GTK statictext control wrap
...
and behave like the MSW. I'm still doing further
tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 13:34:36 +00:00
Julian Smart
3203621a92
Applied patch [ 1183153 ] [wxGTK] DrawComboBoxDropButton pressed state
...
Jaakko Salli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:52:25 +00:00
Julian Smart
430ae62ee9
Another buffer check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 15:00:17 +00:00
Julian Smart
82b76851d5
Don't crash if buffer null
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 14:12:33 +00:00
Michael Wetherell
845905d588
Move G_FILENAME_ENCODING to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Robert Roebling
0f6858b69e
Apply Mart R.'s patch for improved font width
...
handling and minor doc corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:53:19 +00:00
Robert Roebling
308a5aeb9d
Correct vertical alignment for lables in static boxes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:46:01 +00:00
Robert Roebling
a5040b80be
Implemented text wrapping for GTK (1.2 and 2.X).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 22:52:32 +00:00
Robert Roebling
9a2fe01017
Applied gnome print rounded rect patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 16:26:13 +00:00
Vadim Zeitlin
b3d6b0c94c
removed code which doesn't do anything (patch 1175655)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:09:25 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Julian Smart
f8bc53eb53
Applied patch 1173802: Reimplementation of GtkFileChooser wxFileDialog
...
by Mart Raudsepp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:20:58 +00:00
Robert Roebling
66bf009984
Made wxConvBrokenFileNames public.
...
Made use of it from GTK+'s wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 23:15:54 +00:00
Michael Wetherell
34b8f3ef3d
Minor compilo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 10:49:43 +00:00
Vadim Zeitlin
c79146df7e
do runtime check for GTK+ 2.4 and not only compile-time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 00:42:24 +00:00
Vadim Zeitlin
c4590236d7
use GTK_WRAP_WORD_CHAR for wxTE_BESTWRAP if available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 00:36:04 +00:00
Robert Roebling
2f025841ee
Use conversion class in native GTK+ file dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 19:23:15 +00:00
Vadim Zeitlin
34a34b020f
applied patch fixing problems with X server crash when using wxGLCanvas with nVidia cards (patch 1155132)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:06:43 +00:00
Vadim Zeitlin
a67f1484e0
made Update() recursive under wxGTK2 (doesn't work for wxGTK1 because Refresh() is not recursive htere neither) and documented its behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 13:54:09 +00:00
Robin Dunn
4a64a89c2f
Fixed bug [ 1166937 ] Toolbar.DeleteToolByPos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 22:39:20 +00:00
Robert Roebling
da19de3613
Create wxPopUpWindow hidden initially (like MSW, where
...
this happens since it derives from wxTLW, I think).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 17:23:08 +00:00
Robert Roebling
7e02769822
Applied wxPopWindow less flicker patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 13:40:40 +00:00
Vadim Zeitlin
0832aaafb8
file dialog with wxMULTIPLE style still doesn't allow to select multiple files but at least it does return the single file which it does allow to select now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 02:49:20 +00:00
Vadim Zeitlin
01b92baa9c
lame temporary "fix" for file names which are not UTF-8 encoded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 02:42:15 +00:00
Vadim Zeitlin
4c85ab7569
added wxRendererNative::DrawDropArrow (patch 1166596)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:22:04 +00:00
Vadim Zeitlin
9ddb394878
use GTK_WRAP_WORD instead of GTK_WRAP_WORD_CHAR which is not defined in older GTK versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 20:04:31 +00:00
Robin Dunn
62075bca1f
Fix wxRTTI for wxGnomePrintDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 17:54:39 +00:00
Vadim Zeitlin
28fad9e402
fixed unused function warning in GTK+ 2 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:46:58 +00:00
Vadim Zeitlin
865bb3251e
GTK+ callbacks must have C linkage (patch 1157384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:42:26 +00:00
Vadim Zeitlin
c211082373
added support for wxTE_LINEWRAP; use GTK_WRAP_WORD_CHAR for wxTE_WORDWRAP instead of GTK_WRAP_WORD (parts of patch 1156507)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:23:46 +00:00
Vadim Zeitlin
294ea16de3
implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Vadim Zeitlin
e24b680c59
fixed bug due to missing break in GetColourFromGTKWidget() (part of patch 1160117)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:23:57 +00:00
Vadim Zeitlin
60d8e88654
iterator methods fixes (patch 1164808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:19:13 +00:00
Vadim Zeitlin
f18f464cba
don't set virtual size of the window to (0, 0) if scrollbars are removed from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:27:28 +00:00
Julian Smart
844adaa47a
Provided GetBestVirtualSize and DoGetBestSize implementations for
...
generic and GTK+ wxScrolledWindow.
wxWindowBase::DoGetBestSize was returning a virtual size if there were child
controls, which was then used to set the scrolled window actual size.
Similarly, wxWindowBase::GetBestVirtualSize was returning
the actual window size; now we return the virtual size
for dimensions that have scrolling (e.g. vertical scrolling
direction), or the minimum/actual size for those that don't
(e.g. the maximum control width if there is no horizontal
scrolling).
This allows the scrolled window to be properly sized, whereas
before it would start off at the virtual size (giving
enormous layouts).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:21:45 +00:00
Włodzimierz Skiba
27b2dd53f6
Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628 ). Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:46:32 +00:00
Kevin Hock
c2cb80c865
Allow using negative angles with DrawRotatedText. [ patch 1162771 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 05:31:13 +00:00
Robert Roebling
f893066ba1
Query for "default_border" not "default_outside_border" since
...
that is what is done in the gtk code.
Correct wrong pos in scrolled window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 18:57:10 +00:00
Robert Roebling
384188277d
Correct orientation of splitter sash again.
...
Query splitter sash size at runtime.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 12:24:10 +00:00
Robert Roebling
e53a95bcb1
Applied patch for ArtProvider.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 10:33:00 +00:00
Robert Roebling
ab5ea030d8
There shouldn't be any need to draw the backgound
...
under a sash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 10:30:47 +00:00
Robert Roebling
5ac8ce9e05
GTK+ 2.0 compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 20:47:45 +00:00
Włodzimierz Skiba
e5b5075810
Base for wxMessageDialog with common checks for style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00
Robert Roebling
19874feb47
Reenable dead keys under GTK2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 23:06:48 +00:00
Robert Roebling
917ae499da
Applied DnD patch, adding a field for setting a default action.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 22:50:46 +00:00
Robert Roebling
c376d80f40
Override OnSize in the scrollsub sample to disable
...
sizer and scrollarea interferance.
Made some code in wxScrolledWindow slightly clearer
and removed a hack for something that shouldn't
happen any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 22:37:46 +00:00
Kevin Hock
8e27732a43
GTK1 compilation fix from Mart R., followup to patch 1157735
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:02:51 +00:00
Robert Roebling
9b0b5ba76e
Applied GetSystemMetric patch to suppurt GTK and multihead
...
display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:38:31 +00:00
Robert Roebling
885dd59789
Readd support for prelight tree control triangles (visual
...
effect when mouse is over the triangle/button)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:20:41 +00:00
Robert Roebling
f05e0979c2
Use GtkPixmap instead of GtkImage as the latter incorrectly
...
displays greyed images for some reason.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:19:02 +00:00
Robert Roebling
a90c0600bb
Try to catch theme change on the fly in button in
...
order to resize buttons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 23:23:05 +00:00
Robert Roebling
863e0817fe
Trying to get default button placement and size right.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 19:14:24 +00:00
Robert Roebling
b737ad10de
Applied John L's patches for curson scaling, image resizing
...
without scaling and the art provider resize bitmap patch.
I'll look into adapting the generic file dialog to it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 18:33:57 +00:00
Robert Roebling
d504085d5b
Minimal layout change.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 22:29:06 +00:00
Robert Roebling
8017ee9be3
Implemented wxRadioBox using a GtkTable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:31:31 +00:00
Robert Roebling
3b439e60e0
This change will make the parent TLW come to
...
the front again after it has been sent to
the back for some unknown reason, after a
message dialog has been show.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 15:14:20 +00:00
Robert Roebling
4e1a9bc7c9
Apply combobox patch II.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 14:45:58 +00:00
Robert Roebling
83dc6964f0
Changed ComboDropDown button under GTK+ so that it
...
will create a transparent button. This works for
the date control, but should be generalized somehow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 14:38:47 +00:00
Vadim Zeitlin
bc8699718d
restored manual calls to gtk_glwindow_realized/map_callback() and added comment explaining why they're (sometimes) needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 12:28:36 +00:00
Vadim Zeitlin
cd5e74bad9
wxUniv compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:06:48 +00:00
Robert Roebling
c958d025fa
The position (mouse pos) returned by wxKeyEvent sometimes
...
was wrong, as it reported the position relative to the
TLW (this is what a bug report claims, in any case).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 17:47:57 +00:00
Robert Roebling
19ac2f446a
SetLabel() no longer invalidates the font which
...
was previously set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 16:35:30 +00:00
Julian Smart
49bf4e3e68
Added GetBitmap, GetIcon to wxImageList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:36:58 +00:00
Włodzimierz Skiba
789f679516
Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:39:25 +00:00
Robert Roebling
376c0148ef
Better correction to the wxListBox misbehaviour.
...
Strangely, the listbox sends out 2 events upon
the first selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 22:45:32 +00:00
Robert Roebling
1e2cb856c4
Show that the GTK+ listbox doesn't deselect any item
...
in MULTIPLE mode when clicked upon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 22:46:34 +00:00
Włodzimierz Skiba
1a87edf286
Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 21:02:41 +00:00
Julian Smart
aac97549ab
Don't inherit background from parent if we're top-level
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 11:41:59 +00:00
Vadim Zeitlin
1b965a9cfb
call gdk_flush() in Update() (see discussion of patch 1047642)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 01:24:22 +00:00
Robert Roebling
ef00dc0917
Applied patch to allow resizing the popup window.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:46:37 +00:00
Robert Roebling
4fcfa27cb3
Added LDOWN handler for wxListBox so that it wil
...
deselect a selected item if clicke upon. This is
actually not the native GTK+ behaviour, but the
native behaviour seems just broken.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:39:51 +00:00
Robert Roebling
4adb6d28f7
Commited fix for wrong background colour in TLWs. I don't
...
know if this will play well with themes. Alternatively,
one could change one of the few lines below to parent == this;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 19:35:40 +00:00
Vadim Zeitlin
50e768b95a
removed explicit calls to gtk_glwindow_(realized/map)_callback() as they should be called by GTK+ itself anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 18:58:53 +00:00
Vadim Zeitlin
bc13e77252
use native gtk_paint_expander() to implement DrawTreeItemButton() under GTK+ 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:54:51 +00:00
Vadim Zeitlin
a8ac548ed0
trying to draw transparent arrow instead of opaque one but it doesn't seem to change anything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:33:03 +00:00
Vadim Zeitlin
e1befae3d2
yet more corrections to drop down button drawing: don't draw a border around the arrow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:06:42 +00:00
Robin Dunn
31059a74bd
Fixed compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:16:37 +00:00
Vadim Zeitlin
50f65637a8
added more icons (for GTK only) (patch 1097684)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:56:13 +00:00
Vadim Zeitlin
a4622f29d8
draw drop down button using native calls (patch 1144389)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:54:07 +00:00
Kevin Hock
e327fddf5f
ENTER and LEAVE mouse events for multi-line text controls on GTK2, from Mart R. - Closes bug 1015324.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 06:10:55 +00:00
Kevin Hock
9440c3d0e9
wxTE_AUTO_URL for wxGTK2 from Mart R. [patch 1126182]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:55:32 +00:00
Vadim Zeitlin
38511687af
more tweaks to drop down arrow drawing (Andreas Pflug)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 18:29:22 +00:00
Robert Roebling
024e9a4cea
Better resizing code fro wxComboBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 23:19:32 +00:00
Robert Roebling
0ff2a74d0c
Implemented wxBitmap::HasAlpha() and ::UseAlpha().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 20:27:46 +00:00
Vadim Zeitlin
e7846404f7
no changes, just mention gtk_paint_expander() in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 10:18:31 +00:00
Vadim Zeitlin
e9923becbe
include wx/rawbmp.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:17:12 +00:00
Vadim Zeitlin
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Vadim Zeitlin
64fa6f167e
removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:29:31 +00:00
Robert Roebling
284f2b59db
Added raw bitmap access support to GTK 2.0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 15:35:43 +00:00
Robert Roebling
878ddad57a
Reapplied patch to change the two scrolled window implementations
...
to no longer clip the last bits as a rounding error. I had to
change GetVirtualSize() as per my mail to devs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 23:44:24 +00:00
Robert Roebling
bf67b13520
Revert patch again, as the scrollbars are now always shown.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 12:36:12 +00:00
Robert Roebling
e8cd0e5884
Correct rounding up vs. rounding down error in GTK+
...
wxScrolledWindow so that no contents is ever hidden,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:01:58 +00:00
Robert Roebling
a2ac55f54d
Make wxTLW::Raise() actually bring the window to the top
...
and give it the WM's focus (if supported).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:00:31 +00:00
Robert Roebling
4843cdfe0f
Made gnome printing stuff return wxPRINT_CANCELLED if
...
it has been canceled.
Moved the FORCE_LINK code from app.cpp to the sample
as I cannot find the right place for it. We'd need
an empty extrya file for ADV lib only for that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 22:16:41 +00:00
Robert Roebling
1b24b2b48c
Applied patch for more compliant wxScrolbar event
...
generation order.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 22:49:32 +00:00
Robin Dunn
50b58dec17
Check accelerators before sending EVT_CHAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 17:02:57 +00:00
Robin Dunn
4d3ab2a036
Allow EVT_CHAR events in a wxGTK2 build for F-keys, and other
...
non-alphanumeric keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 16:23:27 +00:00
Robert Roebling
709feaf70c
GTK 1.2 compilo/link error.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 21:39:11 +00:00
Robert Roebling
fbe99a7ea8
GTK 1.2 compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 21:29:24 +00:00
Robert Roebling
f7204798e2
I think I found out how GTK+ want popup windows
...
to be handled...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 18:24:02 +00:00
Robert Roebling
f127216013
Reorganized char and keydown event code, hoping
...
that Input Method handling is still not broken.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 15:25:32 +00:00
Robert Roebling
4b61c88d55
Second try to add "support" for deriving from
...
wxBitmapHandlerBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 14:17:27 +00:00
Robert Roebling
4611dd06a1
Make wxBitmap inherit from wxBitmapBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 13:08:44 +00:00
Robert Roebling
58b907f6e1
_conncect_after() should be used for controls emitting
...
command events so as to not confuse GTK+ if the user
intercepts them too early.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-05 12:51:05 +00:00