Václav Slavík
971562cb51
use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Robin Dunn
f325fa52de
Default arg for Id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:57:27 +00:00
Robin Dunn
be698f5030
remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
...
several releases now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:26:42 +00:00
Kevin Ollivier
14f21d6d89
Fixes for wxWebKitCtrl to work with wxNotebook.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 02:53:49 +00:00
Václav Slavík
33d4eef0b9
implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Václav Slavík
ac3c86ee7d
don't call CopyBeforeWrite when returning non-const interator if the string is empty -- avoids assert and is not needed anyway since the iterator is never valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:05:59 +00:00
Václav Slavík
a7d174bf49
compilation fix for gcc-3.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 21:50:16 +00:00
Stefan Csomor
64be92e214
continued spinning committed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 15:54:59 +00:00
Julian Smart
f303db8d9d
Include filefn.h always (or problems on at least Mac)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 16:34:49 +00:00
Dimitri Schoolwerth
adb799d6ef
allow compilation with wxUSE_CHOICEDLG set to 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:59:19 +00:00
Dimitri Schoolwerth
0b4f47a319
partially applied patch #895170 : "Building with minimal setup.h - continuation"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:14:41 +00:00
Václav Slavík
ac258944bc
use shaped window for taskbar icon, so that background shows correctly behind icons with mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 17:01:57 +00:00
Stefan Csomor
86d8b74439
control data support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:51:29 +00:00
Stefan Csomor
997e843d51
preparing for internal changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:45:33 +00:00
Robin Dunn
6c7afb7435
GetClientAreaOrigin should be public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:15:09 +00:00
Stefan Csomor
8d4c48688a
debug method added for flashing invalid areas
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 14:50:38 +00:00
Stefan Csomor
41b531690d
menu associations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 14:49:03 +00:00
Julian Smart
a9928e9d1a
WinCE Standard SDK improvements including adding close button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 11:31:12 +00:00
Julian Smart
45f272841c
Fixes for Standard WinCE SDK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 09:09:19 +00:00
Václav Slavík
9630336291
workaround for BCC bug - use #defines instead of enums
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 11:49:23 +00:00
Julian Smart
e7d9c39867
Reverted config/resource name change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 10:49:43 +00:00
Julian Smart
6033bbc1ff
Must have valid colours for X11 popup window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 20:41:54 +00:00
Julian Smart
0a53b9b8fe
Missed reversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 17:31:17 +00:00
Julian Smart
be5a51fb59
More name changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Kevin Ollivier
005198fa7d
wxWebKit now properly updates after a resize event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 05:54:28 +00:00
Robin Dunn
3ca7ba7403
Use correct #if for interface/implementation pragma.
...
detabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 21:50:00 +00:00
Kevin Ollivier
7eb8c6ee3e
Fixes for Unicode build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 21:00:07 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Mattia Barbon
4b1e72e266
Fix memory leak by letting the base class version handle the
...
destruction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 17:15:36 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
5a2e3d8c47
Do not realize the top level shell that acts as a parent
...
for top level windows. Add a realized child for the shell
for functions requiring it (clipboard at the moment).
Use XtPopup to show top level widgets, as per Motif
guidelines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 18:01:33 +00:00
Robin Dunn
97698dc4fe
Implemented wxGetKeyState for wxGTK (and wxX11 too, but I havn't
...
tested it there.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 23:37:20 +00:00
Włodzimierz Skiba
d53c798cf9
TRUE->true, FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:39:44 +00:00
Kevin Ollivier
2c990ba6d4
Initial import of wxWebKitCtrl sources and htmlctrl (right now wxWebKit) sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 02:20:53 +00:00
Włodzimierz Skiba
21416306cb
Patch #953165 , Bug #821657 : wxHIDE_READONLY no more important.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 13:04:41 +00:00
Włodzimierz Skiba
b6e4e44a15
wxSafeShowMessage needs wxString regardles wxUSE_LOG.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:15:58 +00:00
Robin Dunn
571d14b262
wxMac should use /src/mac/carbon/spinctrl.cpp, applied some sizing
...
layout fixes to that file, removed wxMac specific parts from the
generic wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:14:38 +00:00
Stefan Csomor
9a159a1da1
adapting for dual implementation native and composited
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 06:54:25 +00:00
Robin Dunn
e459a7940d
Tweaks to the generic scpinctrl to handle layouts on wxMac better and
...
fixed alignment of the spinbutton. Also, since the generic spinctrl
is used then the generic header should be included.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 19:21:55 +00:00
Vadim Zeitlin
89b674772c
subdindented paragraphs support (patch 933436)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 18:17:14 +00:00
Mattia Barbon
54d73f3d78
wxUniversal compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:56:16 +00:00
Stefan Csomor
2575829710
unicode conversion support for dataobjects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:58:09 +00:00
Stefan Csomor
ed8a085221
support for insets of native controls, sigh...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:57:00 +00:00
Robin Dunn
70ff36630f
Call PositionStatusBar from SetStatusBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:41:53 +00:00
Robin Dunn
b67e8d38b6
Patch #952053 , wxToggleButton gains WS_VISIBLE flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 18:09:19 +00:00
Stefan Csomor
efc97734ae
wxMacWakeUp moved
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 17:12:43 +00:00
Stefan Csomor
6c85f77674
wxMacWakeUp moved
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 15:29:59 +00:00
Robin Dunn
a800dc50d4
Fixes so joystick not only compiles on Linux, but it actually works too!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:52:05 +00:00
Stefan Csomor
bf4ce9bd0e
unicode support for mach-O targets in Metrowerks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:23:38 +00:00
Stefan Csomor
366e420233
non-osx methods bracketed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:22:53 +00:00
George Tasker
0907ea9c58
[SF#789459] Add support for connection strings. The patch originally submitted was not comprehensive enough to use for the connection caching, so a significant number of additional changes were added to support opening a connection with a connection string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 19:41:03 +00:00
George Tasker
f3df29e3f6
SQL_C_BLOB was getting #define'd incorrectly if there was not already a definition
...
The wxDb::Open() function that takes a wxDbConnectInf() now has a second optional parameter 'failOnDataTypeUnsupported' that defaults to TRUE to maintain current behavior. This allows users to specify FALSE if they want to try to continue
Reformatting of some text, and removal of old commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:07:37 +00:00
Dimitri Schoolwerth
9945c703c7
removed tabs; minor cosmetic cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 20:41:43 +00:00
Stefan Csomor
6076b569f0
not needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:25:40 +00:00
Stefan Csomor
19de24fe0c
remove unneeded vars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:24:07 +00:00
Julian Smart
496e80e521
Added wxUSE_MDI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 18:08:27 +00:00
Stefan Csomor
c5d5c231b8
added wxUSE_MDI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 16:51:02 +00:00
Julian Smart
f0003d294a
wxDocMDIParentFrame needs a default constructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 14:35:51 +00:00
Robin Dunn
313feadc84
Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
...
timer as the event object in wxTimerEvents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Robin Dunn
0fab3a5a1a
Avoid duplicated definition errors for wxLongToLongHashMap when both
...
grid.h and fs_zip.h are included.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:50:28 +00:00
Vadim Zeitlin
7fa4dc1cfc
(blind) fix for gcc 3.4 warning for an always true comparison in an assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:35:36 +00:00
Stefan Neis
23bf401875
Remove duplicated typedef depending on header file version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 17:54:00 +00:00
Stefan Neis
0e70f525fa
Added missing "const" for operator== and operator!=.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 17:30:57 +00:00
Stefan Neis
ba2de0a144
Added missing const for comparision operators.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 15:03:10 +00:00
Mattia Barbon
bdcade0a10
When wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
...
wxHashMap/wxHashSet are just typedefs for them. This makes impossible
to forward declare these classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 20:20:24 +00:00
Mattia Barbon
11e720751c
wxX11 compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 19:56:40 +00:00
Mattia Barbon
40ad34262a
wxUniversal compilation fix. The fix is ok because this ash
...
is a wxMSW data structure, and can only contain wxMSW windows.
Compilation tested with and without wxUniversal and with and without
WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:19:14 +00:00
Vadim Zeitlin
824a614c4e
removed HandleSysCommand() and don't generate duplicate events for frame maximization/iconization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:05:33 +00:00
Mattia Barbon
40964ef0f9
Add missing WXDLLEXPORT.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:45:26 +00:00
Mattia Barbon
7ee2fd4f1a
Remove duplicate definition.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:43:24 +00:00
Mattia Barbon
62cdd7d3f8
CHM help is not compiled for wxUniversal.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:38:14 +00:00
Mattia Barbon
6aa33060cd
Fix for pure virtual method call caused by wxHashTable not
...
overriding virtual destructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:33:29 +00:00
Vadim Zeitlin
efd17a1d4f
split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:29 +00:00
Dimitri Schoolwerth
4b17d2e361
applied patch #931719 : "ESC closes dialog instead of combobox dropdown" (closes patch #931709 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 10:46:19 +00:00
Robin Dunn
d3b5db4b25
SetInitialBestSize changes for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 04:31:12 +00:00
Robin Dunn
35d4c96744
Use wxVisualAttributes (partially #if'd out until tested further.)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:01:24 +00:00
Robin Dunn
9d522606d0
Get(Class)DefaultAttributes() for wxGTK controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:26:25 +00:00
Vadim Zeitlin
d16b634fa3
use ResetClipping() instead of simply setting m_clipping to false; added call to it to wxDCBase::DestroyClippingRegion() so that some ports don't have to define their own version of it at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:43:57 +00:00
Vadim Zeitlin
2e76da5450
made GetClippingBox() work even for clipping region (pre)set by Windows and not only for clipping regions set using our own SetClippingXXX() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:41:54 +00:00
Vadim Zeitlin
2439f37a89
removed non-const accessors for pens, brushes, &c from wxDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 21:44:39 +00:00
Robin Dunn
abdeb9e700
Added wxControl::PostCreation for wxGTK. Moved calls to
...
InheritAttributes and ApplyWidgetStyle there, and added a call to
SetInitialBestSize. Also removed calls to Show from Create since
PostCreation already does it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:09:32 +00:00
Robin Dunn
6457949e5c
Book controls also shouldn't do anything for SetInitialBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 00:53:19 +00:00
Robin Dunn
7a5a571859
Initial/Best size fixes for wxRadioBox, wxSlider and wxStaticText on wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 23:08:55 +00:00
Vadim Zeitlin
929bd5fd5f
override SetInitialBestSize() to do nothing (we must add our strings first)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:40:29 +00:00
Vadim Zeitlin
085dd1e96f
call SetInitialBestSize(), not SetBestSize(), when setting the best size initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:38:20 +00:00
Vadim Zeitlin
400a9e419b
moved SetBestSize() to .cpp file; set min size from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:33:31 +00:00
Vadim Zeitlin
78361a0e98
moved OnExceptionInMainLoop() in .cpp from header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Mattia Barbon
e04b7e8e71
Make wxMotif buttons smaller (and nicer) by default,
...
with the option of reverting to the old behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:14:39 +00:00
Mattia Barbon
961dd75341
Added missing NO_GCC_PRAGMA check.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:06:45 +00:00
Robin Dunn
b2ce5e1b27
Implement some base class virtuals to avoid errors related to this not
...
being a true wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 01:55:29 +00:00
Robin Dunn
82b978d70d
Reverted last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:46:38 +00:00
Václav Slavík
9941ff2d65
compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were never used, at least in this case)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:13:02 +00:00
Robin Dunn
abdb7725e1
In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
...
will always be NULL there will be a wxCHECK asserts triggered whenever
calling base class methods that are valid calls (or just ignored) on
other wx ports. Added a set of macros to be used to test m_widget
that will bypass the wxFAIL if the window is a wxMessageDialog. This
will silence those asserts if the window is a wxMessageDialog and will
let the method doing the check just be ignored in that case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 21:29:35 +00:00
Mattia Barbon
6e86701b83
Use new wxHashTable implementation not using keyed wxList
...
when !WXWIN_COMPATIBILITY_24. It is faster. It is almost 100%
compatible, too, the only difference being Next() return value
type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:59:17 +00:00
Mattia Barbon
0c02f0701e
Native wxControl::DoGetBestSize() implementation
...
using XtQueryGeometry().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:06:08 +00:00
Mattia Barbon
0c05fdf357
MSVC 5 fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:03:19 +00:00
Mattia Barbon
93d660a411
GCC 3.4 fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 16:56:59 +00:00
Vadim Zeitlin
2d814c19cc
use an internal wxFileSystem in wxHtmlListBox so that references to images could be resolved
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 22:44:03 +00:00
Vadim Zeitlin
c096f614b9
made TestDestroy public and virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 21:31:52 +00:00
Dimitri Schoolwerth
015c495184
changed hand cursor to look like Windows' hand cursor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 20:28:49 +00:00