Vadim Zeitlin
e63f19ba93
Added wxID_PAGE_SETUP standard id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:14:55 +00:00
Václav Slavík
71451a6d16
moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Michael Wetherell
bc023abbbb
Detect and use sys/select.h required by POSIX for select
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 11:18:24 +00:00
Stefan Csomor
05fd8c78b0
adding new files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:19:38 +00:00
Stefan Csomor
3e7f443280
fixing code for shared mach-o builds (removing no-ops)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:09:26 +00:00
Stefan Csomor
24fcd264a7
simplifying alpha, adding commented part for high-res screens
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:07:25 +00:00
Stefan Csomor
de8e2d312f
fixing y-transformations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 00:14:41 +00:00
Václav Slavík
1967c0674e
fixed SetBackground's argument check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 16:37:26 +00:00
Václav Slavík
e772e33055
fixed gcc warnings about wrong format string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 15:11:30 +00:00
Václav Slavík
869b59fc91
added wxRect::Inside(wxRect) for testing if a rectangle is completely within another rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 14:21:44 +00:00
Václav Slavík
6632225c98
1. made wxImage compile with wxUSE_STREAMS but without wxUSE_FILE
...
2. changed to work with wxFFile*Streams if wxUSE_FILE=0 and wxUSE_FFILE=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:48:37 +00:00
Václav Slavík
1f3b2af0fe
wxPipeInputStream depends on wxFile, use wxUSE_FILE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:11:52 +00:00
Václav Slavík
b626fee238
safer GetFeature implementation: assert on unknown feature
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 10:15:15 +00:00
Robin Dunn
1736f021a8
Change Fit() back to using SetSize, not SetClientSize.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 18:20:02 +00:00
Stefan Neis
744c594651
Fixed (?) problem in region handling which caused major redraw problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:00:10 +00:00
Vadim Zeitlin
7ce6cc9b8e
unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Angel Vidal Veiga
98e7a7f97f
Backporting from my SoC branch, fix for remotely closed sockets firing input events till destroyed or closed locally.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 04:46:57 +00:00
Mart Raudsepp
eb78c69afd
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 00:50:54 +00:00
Mart Raudsepp
b286fd733e
Mark event parameter as unused, as it is unused.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 00:50:01 +00:00
Vadim Zeitlin
ad41e20907
ListLoaded() fixes for 64 bit archs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:32:08 +00:00
Vadim Zeitlin
53bd3a54cb
device numbers in /proc/pid/maps are in hexadecimal, not decimal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:17:40 +00:00
Vadim Zeitlin
eedf954b20
only multiline text controls need Enter key for themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:35:42 +00:00
Vadim Zeitlin
94972183b9
undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:25:37 +00:00
Vadim Zeitlin
55b43eaa02
undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:10:53 +00:00
Robert Roebling
416d721d4b
Do nothing in wxTLW::Show() if t already is
...
shown.
Don't call gtk_widget_set_uposition() there
anymore, since it is useless, deprectased
and causes surplus move events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 16:39:31 +00:00
Włodzimierz Skiba
065bb76dba
Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:49:12 +00:00
Václav Slavík
f257ac8784
fixed compilation for wxUSE_STATUSBAR w/o wxUSE_MENUS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:01:24 +00:00
Stefan Csomor
3c67ec06a7
on mac using macroman only created once a successful wxCSConv, because the iconv' miss was entered as a failure into the cache, which then killed any subsequent attempt ..
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 09:37:42 +00:00
Włodzimierz Skiba
8e62b5ee36
Removed all outdated makefile.dos and their *.msc include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 07:09:58 +00:00
Václav Slavík
d8cebdca39
compilation fix for !wxUSE_LOG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 05:46:26 +00:00
Vadim Zeitlin
40bdc5d600
release build unused variable warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 22:13:07 +00:00
Vadim Zeitlin
90c6edd706
TLW default item changes have changed Enter key processing: it was now handled as TAB even for controls such as wxTree/ListCtrl which need it themselves; fix this by checking for VK_RETURN in these classes MSWShouldPreProcessMessage() implementation; also removed specific test for wxTextCtrl in wxWindowMSW::MSWProcessMessage() and simplified its code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 22:06:24 +00:00
Václav Slavík
39a31a2d86
made the rest of wxEncodingConverter tables const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 16:28:43 +00:00
Václav Slavík
3ef10cfc2e
warnings fixes for !wxUSE_FONTMAP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:28:05 +00:00
Václav Slavík
91cb7f52cc
compilation fix for !wxUSE_FONTMAPstrconv.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:22:33 +00:00
Václav Slavík
72f8c79220
don't pass window argument to NotifyCaptureLost, it's not needed/used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:17:39 +00:00
Václav Slavík
2c5e5cbdb4
wxFileModificationTime() needs wxDateTime, put it inside wxUSE_DATETIME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:03:22 +00:00
Václav Slavík
63e819f298
added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Benjamin Williams
f9c240ec1e
supress unused var warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 07:24:23 +00:00
Benjamin Williams
26178b5d2a
wrapped up Show() calls to prevent gtk bug from manifesting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 06:54:49 +00:00
Mart Raudsepp
f0f1afb8b9
Don't use filename encoding conversion when passing string to gtk_file_chooser_set_current_name (save as dialog
...
suggested filename) - it takes a UTF-8 per gtk+ documentation and common sense, so use wxGTK_CONV instead.
Fixes wxFileDialog save mode default filename with non-utf8 G_FILENAME_ENCODING (bug #1497800 ). Thanks to
Konstantin Anory for pointing this out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 00:35:08 +00:00
Vadim Zeitlin
ef43e62e77
reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 20:04:10 +00:00
Benjamin Williams
f88d171659
workaround for bug #1531361
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 19:57:35 +00:00
Robert Roebling
7f7348b143
Next compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:56:59 +00:00
Robert Roebling
83beee574e
Compile fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:38:39 +00:00
Vadim Zeitlin
766571a703
add @DATE@, @TIME@ and @TITLE@ macros to HTML printing (extended/modified patch 1528679)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:45:13 +00:00
Vadim Zeitlin
40e0cf4894
compilation fix for wxUSE_DYNLIB_CLASS == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:33:10 +00:00
Vadim Zeitlin
5f6475c145
moved combobox styles from defs.to to combobox.h; added wxTE/wxCB_FILENAME styles (MSW only for now); show them in the widgets sample and use for file/dir pickers text controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 19:19:50 +00:00
Robin Dunn
e968f10872
Only do Armel Asselin's memory reduction patch in Paste in the Unicode
...
build because in the ansi build wxWX2MBbuf is just a char* pointing
into the text wxString's buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 01:53:18 +00:00
Vadim Zeitlin
1a8e309166
removed wxLANGUAGE_SERBIAN, we must explicitly use either or wxLANGUAGE_SERBIAN_CYRILLIC/LATIN variants alone as just wxLANGUAGE_SERBIA is equivalent to wXLANGUAGE_CROATION under Windows resulting in unwelcome confusion; and there is no default sublanguage for Serbian anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:55:17 +00:00
Vadim Zeitlin
507abc7b3a
allow changing the page from keyboard in property sheet like controls even when the notebook doesn't have focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:48:50 +00:00
Benjamin Williams
a94476deb9
wxaui/tabmdi size fix for gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 16:03:22 +00:00
Václav Slavík
8e8a4e8587
reverted the change to not use wxList until dynarray.h is fixed to provide operator* in both STL and non-STL modes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 07:14:14 +00:00
Václav Slavík
67868c1e6c
don't use untyped wxList in wxXmlResource
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 14:03:02 +00:00
Włodzimierz Skiba
28f92d74ee
Include wx/dataobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 12:57:16 +00:00
Mart Raudsepp
eab77b5983
Kill typo noticed by Priit Laes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:55:13 +00:00
Mart Raudsepp
47b8afadea
Don't mark "." and ".." for translation when they are used as a check that the user didn't enter "current
...
directory" or "parent directory" as a new directory name to use...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:46:26 +00:00
Mart Raudsepp
75575b6020
Use wxPLURAL to allow for singular "%ld bytes" version. Noticed by Priit Laes.
...
This is the first usage of wxPLURAL inside the library itself. We surely have more singular/plural strings than
one?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:40:15 +00:00
Mart Raudsepp
98a0564ea6
[wxGTK] Implement wxSlider::GetLineSize and wxSlider::SetLineSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:32:01 +00:00
Mart Raudsepp
20c3174dd1
Use GTK casts.
...
Use gtk_range_get_adjustment instead of GtkRange::adjustment - latter is not documented and therefore not public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:17:36 +00:00
Vadim Zeitlin
7b34da9bd6
remove debugging printf() from wxGridCellFloatEditor::IsAcceptedKey(); cleaned up the code a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 13:00:49 +00:00
Jamie Gadd
0f7a4d1fb5
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 05:58:54 +00:00
Jamie Gadd
39ad4a54a9
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 05:23:40 +00:00
Vadim Zeitlin
32cd189dfc
use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the string after TAB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:47:39 +00:00
Alex Bligh
54076686b9
Work around problems with sizing floating panes on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:46:12 +00:00
Vadim Zeitlin
74639764d0
added possibility to strip only mnemonics, not accels, in wxStripMenuCodes(); added wxControl::GetLabelText()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:40:04 +00:00
Alex Bligh
1320116514
wxAUI: fixed pane saving design thinko
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:16:41 +00:00
Włodzimierz Skiba
e8427971f6
[ 1528248 ] Fix to the width of the wxGenericColourButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:53 +00:00
Alex Bligh
75c8d68f1d
wxAUI: Support serialization of individual PaneInfo structures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:46 +00:00
Włodzimierz Skiba
7947a48ab7
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:15:13 +00:00
Włodzimierz Skiba
5e4a89ba45
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:02:41 +00:00
Jamie Gadd
5e4a7f9196
Make wxTreebook use wxControlContainer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:30:19 +00:00
Jamie Gadd
89fdd421b4
Warning fix for the warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:24:03 +00:00
Włodzimierz Skiba
459b97dfcb
Allow wxUSE_INTL==0 builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:08:46 +00:00
Włodzimierz Skiba
bb90a3e6fd
Include wx/stopwatch.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 08:47:47 +00:00
Włodzimierz Skiba
613992479a
Simplify PCH support. Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 08:39:57 +00:00
Włodzimierz Skiba
2cdcee612a
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Włodzimierz Skiba
b84aec037f
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:07:01 +00:00
Vadim Zeitlin
6c20e8f816
move default button handling code from wxControlContainer to wxTLW (patch 1524441)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Vadim Zeitlin
0c9d7ace58
include X11/Xutil.h for wxMotif compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:28:10 +00:00
Vadim Zeitlin
374b4f1c0b
compilation fix for platforms where size_t is unsigned long, not int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:05:49 +00:00
Vadim Zeitlin
ecd87e5b71
improvements to wxPickerBase default proportion values (patch 1525578)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:44:41 +00:00
Vadim Zeitlin
4948ebf3ff
handlers added using AddHandler() last must have the highest priority (patch 1522807)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:33:14 +00:00
Vadim Zeitlin
dd47961399
make wxGetKeyState() work for non-modifier keys; corrected some key mappings (patch 1521490)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:19:46 +00:00
Vadim Zeitlin
8daf3c3664
wxPathList cleanup by Francesco (patch 1521481)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:16:55 +00:00
Vadim Zeitlin
da87911d65
generate middle click events (patch 1521314)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:09:49 +00:00
Vadim Zeitlin
f98377912b
optionally count repeating wxLog messages instead of logging all (patch 1520815)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:04:35 +00:00
Vadim Zeitlin
0ca3c231fb
don't send duplicate set/kill focus events when the text control part of the control gets/loses focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:51:43 +00:00
Vadim Zeitlin
9f057af5ef
wxFD_PREVIEW implementation for wxGTK (slightly modified patch 1520690)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:48:06 +00:00
Vadim Zeitlin
3d3f3e3749
allow customization of individual grid lines appearance (patch 1496015)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Vadim Zeitlin
be085544e9
fixed typos in last check in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:30:43 +00:00
Vadim Zeitlin
25b34b267e
protect gs_allThreads with a mutex (modified patch 1518719)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:26:26 +00:00
Vadim Zeitlin
3e6e514739
do nothing in Refresh() if the control is frozen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:18:34 +00:00
Vadim Zeitlin
27f8357f3c
call DoDirtyProcessing() from OnIdle() instead of using wxYield() (patch 1518119)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:12:23 +00:00
Vadim Zeitlin
97757cee26
check that the stream is valid before using it in Load() and Save() (patch 1516432)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:06:57 +00:00
Vadim Zeitlin
a8d69700fc
add default value for the encoding parameter of wxMacCFStringHolder() instead of passing wxLocale::GetSystemEncoding() which doesn't work when wxUSE_INTL == 0 to it in many places (replaces 2nd part of patch 1501724)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:01:39 +00:00
Vadim Zeitlin
b8b37cedd3
added HasHandlerForPath() (modified patch 1514524)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:37:39 +00:00
Vadim Zeitlin
9e34f56be8
wxUSE_GUI == 0 compilation fix (patch 1501724)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:13:38 +00:00
Vadim Zeitlin
008202b7e9
added static casts to void * for pointers used with format specifier to silence stupid gcc pedantic warning (bug 1500717)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:05:46 +00:00
Benjamin Williams
9674314028
floating panes now respect wxPaneInfo::HasCloseButton()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 16:00:37 +00:00
Vadim Zeitlin
2588b9c467
minor refactoring of OnEraseBackground()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:57:57 +00:00
Włodzimierz Skiba
4dd31ff527
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:07:50 +00:00
Włodzimierz Skiba
623d5f8002
Warning fix, minor source cleaning and better !PCH support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:04:31 +00:00
Vadim Zeitlin
60decce547
s_verComCtl doesn't change (during program lifetime)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:49:02 +00:00
Jamie Gadd
cc1487e539
Fix toolbar background painting whem comctl32 < 6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:45:31 +00:00
Alex Bligh
f89f6b74f2
wxAUI: remove spurious semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:45:18 +00:00
Vadim Zeitlin
3ab6fcee36
added FindFileInPath() (part of an otherwise rejected patch)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:34:26 +00:00
Benjamin Williams
17da541092
wxString::IsEmpty() => empty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 11:32:42 +00:00
Benjamin Williams
f169e95d03
fixed variable name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 11:30:27 +00:00
Benjamin Williams
639a4f7b54
tab draw happens right away when you set the caption
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 09:44:19 +00:00
Benjamin Williams
9d59bf6889
drawing improvements; empty caption w/ tab drawing looks better
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 09:28:59 +00:00
Benjamin Williams
82dc21d343
tabmdi menu fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 08:40:08 +00:00
Włodzimierz Skiba
7d70c3095c
[ 1517666 ] suppression of wxVsnprintf() warnings - with little extensions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:48:24 +00:00
Włodzimierz Skiba
c08ee0349d
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:46:05 +00:00
Benjamin Williams
3184454fc0
removed some commented-out code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:16:20 +00:00
Włodzimierz Skiba
0326511329
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:02:24 +00:00
Włodzimierz Skiba
4444d148a5
Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 06:30:49 +00:00
Alex Bligh
6bdeda4785
Per Robert R, apply: [ 1484667 ] Make wxWindow::Update() update native controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 20:56:08 +00:00
Alex Bligh
815eadf3d0
wxAUI: wrap calls to SetTransparent/CanSetTransparent so file can easily be used with 2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 14:03:37 +00:00
Alex Bligh
728e18f612
Use wxCHECK_VERSION not wxABI_VERSION to avoid xrc loader bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 13:52:40 +00:00
Alex Bligh
5826659c99
wxAUI: Don't fade venetian blind effect by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 11:39:13 +00:00
Robin Dunn
4f450f41a2
Also need to override Show
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 22:31:07 +00:00
Benjamin Williams
da5e85d989
added some font measuring to wxAuiMultiNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 18:51:14 +00:00
Alex Bligh
7a5b04a65e
Add support for transparent hint windows under GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 17:30:28 +00:00
Jamie Gadd
24e35cf87b
Don't handle WM_PRINTCLIENT anymore, manually draw the static box label background instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 17:20:05 +00:00
Alex Bligh
f2c78bada4
wxAUI: Do not leak a wxFrame if transparency is not supported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 16:41:14 +00:00
Benjamin Williams
96fc10390b
added auibook.cpp and tabmdi.cpp to build scripts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 14:00:57 +00:00
Alex Bligh
8b001346df
Fix redraw problems with hint rectangle when there is no transparency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:58:53 +00:00
Benjamin Williams
fe498448fc
compile fixes on wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:12:49 +00:00
Alex Bligh
9366ec4e1e
Clean up wxOwnerDrawnComboBox XRC handler as suggested by abxabx fixing bug
...
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1487463&group_id=9863
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 12:47:44 +00:00
Benjamin Williams
134e83cbea
added some overrides to wxTabFrame to remove errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 07:34:45 +00:00
Stefan Csomor
5088ab3fdd
fixing this conversion (was essentially a no-op under NON-UNICODE)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 07:20:59 +00:00
Stefan Csomor
fbb0b8afd0
adding back-conversion to filenames (wide composed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 07:18:32 +00:00
Alex Bligh
d9b72d2540
Fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 15:05:44 +00:00
Benjamin Williams
189da67c55
updated header file name in source
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:55:21 +00:00
Benjamin Williams
974dee61a9
renamed notebook.cpp to auibook.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:48:06 +00:00
Benjamin Williams
cd05bf23f6
added notebook.cpp and tabmdi.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 13:35:00 +00:00
Mart Raudsepp
3eecbda80c
Don't check with CanSetTransparent from within SetTransparent if the former is supposed to be pessimistic and
...
latter optimistic about actual visual result.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 01:49:18 +00:00
Włodzimierz Skiba
9de1027152
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 17:26:52 +00:00
Włodzimierz Skiba
21d6b09b10
[ 1523907 ] Remove unnecessary wxComboCtrl window style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:31:10 +00:00
Vadim Zeitlin
e566ccf1ba
handle negative time spans correctly in Format()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:04:10 +00:00
Włodzimierz Skiba
e83844692e
[ 1524693 ] wxOwnerDrawnComboBox focus paint fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 14:37:47 +00:00
Stefan Neis
4f768b1a24
Fixes according to patch #1523304 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 20:55:04 +00:00
Stefan Neis
61a028dc4a
Sizing fixes according to patch #1523304 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 20:52:06 +00:00
Mart Raudsepp
60169b7a51
[wxGTK] Be pessimistic about transparency being visually shown in CanSetTransparent. With current code
...
CanSetTransparent will only return TRUE if gtk+ version is at least 2.10 AND there is a running compositing
manager that implements the _NET_WM_CM_Sn EWMH spec addition proposal (at this point only metacity GL based
compositor, afaik). This is for wxAUI to be able to implement dock preview correctly. In general these behaviours
needs some discussion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 18:59:03 +00:00
Mart Raudsepp
07e497070e
Initial wxTLW::(Can)SetTransparent support for wxGTK. The return value of SetTransparent is currently very
...
optimistic and doesn't use the EWMH composite manager spec update proposal (_NET_WM_CM_Sn) yet. This is on purpose
until the proposal appears in EWMH new version draft and it gets used by more composite managers.
See http://www.nabble.com/Interaction-between-applications-and-compositing-managers-t1389248.html and in the
future http://standards.freedesktop.org/wm-spec/latest/ for details.
Some code reordering is probably in order (helper function to utilsx11?) and testing on non-traditional X servers
appreciated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 17:18:12 +00:00
Włodzimierz Skiba
db84713101
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 15:52:28 +00:00
Robin Dunn
07880314d4
Translucency --> Transparent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:30:08 +00:00
Benjamin Williams
16541a4ef4
frame should call skip on child focus event to give owner a chance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 19:23:54 +00:00
Michael Wetherell
3f1ad07b3e
Compile fix for OS X 10.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 17:54:39 +00:00
Vadim Zeitlin
cd7e925abb
fixed crash in wxDb::Open() in Unicode build due to wrong interpretation of BufferLength argument of SQLDriverConnect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 10:42:55 +00:00
Michael Wetherell
8dee721efd
Use substitions when converting gnome mime files from UTF-8 (bug 1518012)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 09:39:11 +00:00
Włodzimierz Skiba
7dc234d633
[ 1519202 ] wxComboCtrl::SetButtonPosition() to support -1 width/height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 08:45:12 +00:00
Włodzimierz Skiba
6012f61212
[ 1522987 ] wxComboCtrl crashes if TAB is pressed while popup is open
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 07:40:04 +00:00
Włodzimierz Skiba
68f2155bb7
Better temporary fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 06:28:39 +00:00
Włodzimierz Skiba
3d3d7d0994
Build fix to make tinderbox work, needs asap change.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 06:19:29 +00:00
Vadim Zeitlin
27b3bd6a59
fix Open(wxDbConnectInf) when using connection string (patch 1494705)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 23:09:15 +00:00
Stefan Neis
d72fd025b6
Drawing fixed according to patch #1523304 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:35:57 +00:00
Stefan Neis
2fbb8fbbed
Disable CLIP_SIBLINGS style.
...
Fixes for getting best size.
Fixed some error in flag processing. All according to patch #1523304 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:26:04 +00:00
Stefan Neis
63403da780
Make wxCalendarCtrl work on OS/2's PM port as well (patch #1523304 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:49:29 +00:00
Stefan Neis
40a33c46e3
Avoid trouble during initialisation & typo fix (patch #1523304 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:41:48 +00:00
Stefan Neis
2ef6ae9de2
Fixed geometry errors according to patch #1523304 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:35:29 +00:00
Vadim Zeitlin
d0b6344dda
update the combobox text as soon as we get CBN_SELENDOK as otherwise wxEVT_COMMAND_COMBOBOX_SELECTED handler got wrong value from our GetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:22:23 +00:00
Vadim Zeitlin
82d0e7fe66
disable pixel size comparison in operator==() for wxGTK1 as it results in infinite recursion there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:15:55 +00:00
Vadim Zeitlin
462deb5dce
wxUSE_PANGO is always 0 for wxGTK1 so there is no need to use #if wxUSE_PANGO in GTK1-only code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:03:03 +00:00
Vadim Zeitlin
177df6c5f6
wxUSE_PANGO is always 1 for wxGTK2 so there is no need to use #if wxUSE_PANGO in GTK2-only code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:00:42 +00:00
Vadim Zeitlin
789367e10d
unset the button as temporary default item when it's destroyed (closes bug 1354875)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:50:48 +00:00
Vadim Zeitlin
cef55d6485
remove the search for parent with wxTAB_TRAVERSAL style in SetDefaultStyle(): it's useless as DM_SETDEFID can be only sent to the immediate parent anyhow, apparently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:23:03 +00:00
Vadim Zeitlin
b3d006af0f
don't crash if m_widget == NULL in OnInternalIdle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:44:51 +00:00
Vadim Zeitlin
b3f1734fa0
min size of an empty sizer should be (0, 0) and not (10, 10)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:29:43 +00:00
Vadim Zeitlin
54af24613f
don't add 7 and 14 pixel horz/vertical padding in DoGetBestSize() when the best size is computed from the existing children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:28:41 +00:00
Stefan Neis
3e748fca44
Fixed apparent typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:01:56 +00:00
Stefan Neis
aa2f364e34
Avoid using invalid parameters for GpiSetAttrs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 15:46:35 +00:00
Benjamin Williams
2f68106fa0
prevent some obscure wxAUI crashes after DetachPane() is used (crashes only happen in rare cases)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 12:32:51 +00:00
Benjamin Williams
0603bb285c
added another AddPane() call which allows the caller to add a new window at a certain point; Hint functions are now public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 10:59:16 +00:00
Robin Dunn
50f3c41d61
Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
...
implementations (so far) for wxMSW and wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Michael Wetherell
0b850f25d2
Put the reentrance check inside #ifdef __DEBUG__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:21:44 +00:00
Michael Wetherell
f5256c59dd
Handle reentrance in the first part of wxClassInfo::Register()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 20:54:07 +00:00
Václav Slavík
e96ff06fc4
don't require <value> node in wxColourPickerCtrl's XRC handler, use black as default (i.e. do the same that C++ code does)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:34:34 +00:00
Václav Slavík
984f1d84fd
added default value argument to wxXmlResourceHandler::GetColour()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:32:57 +00:00
Václav Slavík
374caf2301
use <value> instead of <default-*> for initial value of picker controls in XRC, for consistency with other controls' handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:21:25 +00:00
Václav Slavík
af6ad98461
fixed crashes in wxFile/DirPickerCtrl::GetPath() due to incorrect casting in multiple inheritance hierarchy and incorrect casting to wxFilePickerWidget in wxFileDirPickerCtrlBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:13:04 +00:00
Václav Slavík
42c09d20bb
fixed typos in *picker.cpp files' headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 09:56:16 +00:00
Vadim Zeitlin
2cf3a6d7be
don't create non-existing groups in HasEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:46:31 +00:00
Vadim Zeitlin
41f3015283
fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:08:43 +00:00
Włodzimierz Skiba
f0fa8b47ab
PCH and wxUSE_* fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:03:10 +00:00
Benjamin Williams
483c90c20c
hint window pane should always be shown so that hints will be drawn for even currently hidden panes being dragged around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 13:56:22 +00:00
Mart Raudsepp
01207937f6
Return false from PositionToXY if passed in position is larger than the buffer. This should restore the
...
functionality of the boolean return value, while not returning false for valid input from end of buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 04:22:38 +00:00
Mart Raudsepp
5025996266
gtk_text_iter_get_line and get_line_offset work fine on the end iter. Don't bail if we are at the end of buffer.
...
Fixes one part of bug #1516281 , the other part is controversial and probably not reasonable to change.
Also deal with NULL being passed as the x or y pointer, as is done also on wxMSW (this was done on 2.6 branch as
well, but not noted).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 03:46:40 +00:00
Robin Dunn
b8193d807f
Updated Scintilla to version 1.70
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:20:18 +00:00
Alex Bligh
dc8a1aa53d
Apply patch 1520776, partial completion on wxOwnerDrawnComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:06:32 +00:00
Alex Bligh
0d02dd54a0
Virtualize ProcessDockResult so people can override it to prevent docking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:03:54 +00:00
Robin Dunn
134d7051bf
Reverted part of rev 1.92. It causes probelms on Windows when
...
scrolling with the scrollbars since the mouse can be captured nativly
momentarily.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:18:04 +00:00
Vadim Zeitlin
fca418ae12
call SetHorizontalExtent() from SetString(); also simplified/cleaned up the former function and call InvalidateBestSize() from it automatically now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:44:34 +00:00
Benjamin Williams
461125ea4d
renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Benjamin Williams
673727f39c
wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows all main window drawing operations to be overridden to provide custom drawing behavior
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:24:25 +00:00
Benjamin Williams
a189504e7f
wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 13:50:49 +00:00
Václav Slavík
f5bed7a885
refresh tree item after changing its icon so that the change is visible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:28:19 +00:00
Stefan Neis
8e372bbe07
Added implementation for wxGetKeyState and wxGetMouseState.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 17:44:08 +00:00
Mart Raudsepp
370b406c71
Use PangoFontMetrics to get wxDC::GetCharHeight, because that's the proper and clean way to get the body size of a
...
particular font, and it doesn't go through all the layoutting code (hence, 20-35% quicker than measuring H for
logical extents).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 03:46:01 +00:00