Commit Graph

6287 Commits

Author SHA1 Message Date
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