Commit Graph

6506 Commits

Author SHA1 Message Date
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
Stefan Csomor
c567d635a2 precompiled headers changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 16:07:19 +00:00
Stefan Csomor
77f2f1d3c2 precompiled headers changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 15:38:51 +00:00
Robin Dunn
95561ddfc3 Change SetStringSelection to return bool like in other classes and ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:59:35 +00:00
Stefan Csomor
2a039701a8 specific workaround for XCODE native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 17:15:02 +00:00
Stefan Csomor
fc38315b49 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 17:13:40 +00:00
Julian Smart
82eda5ecd0 SmartPhone windows are always maximized: Patch 942118
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 13:48:07 +00:00
Stefan Csomor
c2e5616e06 on xcode native we end up with several definitions otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 05:20:52 +00:00
Stefan Csomor
b2a9a5fbca xcode precompiled headers support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 04:59:46 +00:00
Václav Slavík
477a623837 removed wxGzipStreams (supported by wxZlibStreams now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 08:55:57 +00:00
Václav Slavík
1824b08894 removed wxGzipStreams (supported by wxZlibStreams now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 08:49:19 +00:00
Stefan Csomor
7eb8d1ebd6 always use opaque structs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-23 08:54:23 +00:00
Robin Dunn
49826dabe6 Fix wxGTK's menu and menubar so Insert does something other than
always append.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:05:52 +00:00
Robin Dunn
d36d8dd7d2 Add SetKind accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:02:02 +00:00
Václav Slavík
f2aa588ba5 applied patch 939076: __SMARTPHONE__ define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 21:03:02 +00:00
Václav Slavík
86b79b93fb added wxRegEx::GetMatchCount (patch 938995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 20:14:14 +00:00
Stefan Csomor
c3a404b090 added define for Aug 2003 gcc update compatibility with Jaguar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 19:20:21 +00:00
Vadim Zeitlin
f46f4c86b2 fixed recent modeless dialog breakage caused by removing wxDIALOG_MODAL (wxModelessWindows list doesn't exist any more; wxDialog::SetModal() and IsModalShowing() deperecated)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 12:45:16 +00:00
Julian Smart
960b193e59 Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
SDK defines.
Now creates menubar at bottom of window for PPC.
Window uses default position and size in PPC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 22:17:24 +00:00
Julian Smart
5614d24d40 Compile fix for eVC++ 4 with PocketPC 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 18:52:01 +00:00
Chris Elliott
01bc475b91 SF patch #938489 (for VC5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 14:33:33 +00:00
Vadim Zeitlin
3f54c58da2 made Update() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 13:34:52 +00:00
Chris Elliott
db60d56c59 SF patch #938489
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 13:34:49 +00:00
Julian Smart
b33f7651ae Don't infinitely recurse when setting the child focus. Without
this, nested panels/scrolled windows that work fine on wxGTK, wxMSW
can cause infinite recursion on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 14:41:06 +00:00
Vadim Zeitlin
9c9aec6143 removed work around for 16 bit compilers not defining LPTSTR which was breaking Unicode build unless WIN32 was defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 12:33:05 +00:00
Robert Roebling
568883a45d Set default dialog style to 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:32:20 +00:00
Robert Roebling
3851e47918 Applied patch for hiding statusbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:27:11 +00:00
Stefan Csomor
11c5b47d94 added fix for MSL under Win32 (by Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 06:40:18 +00:00
Robin Dunn
245c5d2e02 Make InheritAttributes and ShouldInheritColours public so they can be
called from derived Python classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:06:11 +00:00
Robin Dunn
7bdfb981a8 Fix or add some DoGetBestSize's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:00:24 +00:00
Vadim Zeitlin
5232d996cd use wx_static_cast() inside wxDynamicCast to catch impossible casts at compile-time instead of run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:57:06 +00:00
Vadim Zeitlin
f29fe16932 added and documented wx_const/static_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:30:07 +00:00
Vadim Zeitlin
4d4f4290ea wxEVT_MOVING = 442, not 4442, in event compatibility mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:48:06 +00:00
Vadim Zeitlin
df74fdeafd GetChildrenCount() should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:44:32 +00:00
Vadim Zeitlin
88eadcf218 changed return type of wxCommandEvent::GetClientObject() to wxClientData * from void * and documented it (patch 918655)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:10:08 +00:00
Vadim Zeitlin
5c9f6bf455 use iostream.h and not iostream with OpenWatcom (part of patch 910058)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:02:43 +00:00
Vadim Zeitlin
af498247c5 make XTI compile with VC6 (patch 896614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Vadim Zeitlin
08848c9f95 define _puttchar for mingw32 as it doesn't have it (patch 875611)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:34:19 +00:00
Vadim Zeitlin
eb2a7883df show/hide static box when the wxStaticBoxSizer is shown/hidden (replaces patch 897020)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:26:09 +00:00
Václav Slavík
af51080d14 commdlg.lib is not in evc3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:12:59 +00:00
Dimitri Schoolwerth
d30ee785c2 made GetAlpha(x, y) const (the docs are already correct)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 16:16:01 +00:00
Dimitri Schoolwerth
22d080f35b improved const-ness of find/Find functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:05:13 +00:00
Robin Dunn
1eba219387 Added wxSizerItem::SetMinSize that calls m_window->SetSizeHints if not
wxFIXED_MINSIZE, SetInitSize and SetItemMinSize uses SetMinSize, and
fixed [ 934651 ] sizeritem's 'minsize' value has no effect in xrc resources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:45:21 +00:00
Robin Dunn
1ebfafde51 Keep track of the initial size that the window was created with, and
when the window is added to a sizer use that size with SetSizeHints.
This is to fix problems resulting from the previous change where
SetSizeHints was called with the initial size from CreateBase.

Also, Patch [ 934677 ] wxWindowBase::DoGetBestSize() should exclude hidden windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 22:40:14 +00:00
David Elliott
70cbdccac9 Quick hack removing wxDIALOG_MODAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:26:24 +00:00
David Elliott
2c326adae6 Quick hack to rid the code of wxDIALOG_MODAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:03:53 +00:00
David Elliott
e9ec987a36 Added wxRegion construction from an NSRect or an array of NSRects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:53:50 +00:00
David Elliott
90c108964c Rework modal dialog code to not depend on now obsolete wxDIALOG_MODAL flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:39:43 +00:00
David Elliott
53dbce2338 wxCocoa: wxRegion using wxRegionGeneric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 19:45:02 +00:00
David Elliott
4c3c384448 Added wxRegionGeneric and wxRegionIteratorGeneric using X.org code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 19:38:24 +00:00
David Elliott
c0ccf6a9a3 s/m_clientData/m_itemClientData/ so it doesn't conflict with wxEvtHandler union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 14:16:48 +00:00
David Elliott
e76d459d94 Make ObjcRelease() return void like [NSObject -release] not type id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 13:40:08 +00:00
Vadim Zeitlin
2fce94e20c define WS_XXX constants missing in (some) CE SDKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:56 +00:00
Vadim Zeitlin
072c5412c2 removed m_bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:05 +00:00
Vadim Zeitlin
8b5ef6cfd2 moved dialog/frame styles to their own headers; don't use any styles by default for TLW under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:22:34 +00:00
Vadim Zeitlin
b2d22a3f04 (blind) compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:44:53 +00:00
Stefan Csomor
2aefa0ef8a adding event construction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:30:20 +00:00
Stefan Csomor
336a6aba60 switching to native focus and control hit handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:28:25 +00:00
Václav Slavík
9b58bfecd8 aygshell is available on PocketPC and sometimes needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 21:00:42 +00:00
David Elliott
af8491078d Change m_windowCurrent to m_currentNSWindow such that m_currentNSWindow is
never used directly but only to look up the associated wxCocoaNSWindow.
If the wxCocoaNSWindow cannot be found later in UpdateMenuBar then it's
likely been destroyed but no crash will result as before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 04:58:32 +00:00
Václav Slavík
044a69a42d added some cppunit convenience macros (part of patch 924438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:26 +00:00
Václav Slavík
4c68a10264 improvements to zlib streams (patch 929416):
1. CanHandleGZip static method
2. code cleanup
3. 2.4 compatibility mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:34:56 +00:00
Stefan Csomor
1a42f89c41 expose find window method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:23:00 +00:00
Václav Slavík
eddb325043 added wx/msw/wince/libraries.h to workaround SDK differences problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:14:50 +00:00
Vadim Zeitlin
910b9fc5c0 added GetEncodingFromName(); documented it and rearranged the methods in alphaabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:40:04 +00:00
Vadim Zeitlin
15ad38c34f added support for koi8-u
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 23:43:49 +00:00
Mattia Barbon
f8ca3d720e Avoid virtual function hiding.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 16:07:18 +00:00
David Elliott
256af34f51 Added header preprocessor guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:54:21 +00:00
David Elliott
15bc1a64a8 Implement a reasonable DoGetBestSize (NSProgressIndicator is not an NSControl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:23:41 +00:00
David Elliott
9a165f54b9 Stub for DoGetBestSize() since this isn't an NSControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:19:37 +00:00
David Elliott
79e1f224d1 Make DoGetBestSize() always return a width of 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:11:44 +00:00
David Elliott
0754a4b307 wxCocoa: native wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:20:51 +00:00
David Elliott
7848088476 Added files for wxNotebook and wxCocoaNSTabView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:19:06 +00:00
Dimitri Schoolwerth
caafd0821d implemented a simple DoGetBestSize() for MSW's wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 15:16:46 +00:00
Vadim Zeitlin
fbaddf4482 we can now use png/jpeg/gif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:37 +00:00
Vadim Zeitlin
b8e7b6738f 1. moved InheritAttributes() from wxControl to wxWindow
2. made it inherit only the attributes explicitly set for the parent
3. "explicitly set" means set with SetXXX(), not newly added SetDefaultXXX()
4. documented InheritAttributes(), ShouldInheritColours() and SetDefaultXXX()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:22 +00:00
Robin Dunn
f52e0cf489 Changed name to wxFIXED_MINSIZE since that is more descriptive of what
it does.  The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
9d17ee60a5 Put back wxMSW's wxStaticBitmap::DoGetBestSize because GetBitmap (used
in base DoGBS) is not able to be called until the control is fully
constructed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:41:34 +00:00
Robin Dunn
595a949307 wxStatusBarGeneric::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:48:24 +00:00
Robin Dunn
b3fcfa4d89 wxStaticBitmapBase::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:47:04 +00:00
Robin Dunn
caa251e073 Added wxFIXED_SIZE.
Propogated wxSizer::SetItemMinSize to SetSizeHints for window items.
Updated docs for flag parameter to be more readable and understandable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:21:06 +00:00
Robin Dunn
1ec25e8ff7 Added some convenience inlines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 05:20:58 +00:00
Vadim Zeitlin
b39ba2c2ee use wxUnusedVar() to suppress warnings about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 10:51:49 +00:00
Vadim Zeitlin
2a47cb1ba2 don't define SetShape() for Windows CE; use wxTLWBase::GetDefaultSize() to avoid creating too big windows under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:27:31 +00:00
Vadim Zeitlin
0c089c0826 added wxTLWBase::GetDefaultSize() to avoid creating windows with default size unsuitable for the current display size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:26:56 +00:00
Vadim Zeitlin
706f14210b added and documented wxSize::IsFullySpecified() and SetDefaults()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:24:56 +00:00
Vadim Zeitlin
2aaf17c223 GlobalLock/Unlock() are available under CE, no need to redefine them, it is already done in eVC 4 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:56 +00:00
Vadim Zeitlin
14d3c9f7b4 include headers normally included from windows.h and shellapi.h under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:12 +00:00
Vadim Zeitlin
f153c2b611 suppressed unused param warning under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:18 +00:00
Vadim Zeitlin
fb86251bff do #undef CreateDialog() under CE, what was the reason for not doing it?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:00 +00:00
Vadim Zeitlin
fe5c9b3eaf include wince/missing.h under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:00:34 +00:00
Vadim Zeitlin
524b59ff2e removed tons of unused stuff apparently copied verbatim from MS headers (argh!!); added bsearch()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:59:29 +00:00
Vadim Zeitlin
be69f971c4 enable wxDIB for Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:57:36 +00:00
Vadim Zeitlin
7c8c7cc23e WinMain() is Unicode under CE (how did this work before?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:54:20 +00:00
Vadim Zeitlin
7b162e540e include wrapwin.h instead of windows.h directly (fixes CE compilation problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:47:05 +00:00
Václav Slavík
f20275d9c5 WinCE compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 19:03:08 +00:00
Stefan Csomor
f5ea731f5d concentrating content and structure region calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 14:41:34 +00:00
David Elliott
2654f7e423 Make DoGetBestSize cache the value of GetSize() the first time it is called
for the case when the control is a regular window with no children.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 05:16:38 +00:00
David Elliott
fa8114de44 Added wxObjcAutoRef* classes for automatic retain/release of Objective-C objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 17:43:59 +00:00
David Elliott
c1d19dfb68 wxCocoa: use generic wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 22:42:53 +00:00
Václav Slavík
0c2d809a72 WinCE SDK doesn't have crtdbg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:51:18 +00:00
Julian Smart
c393c74021 Implemented Enable for wxMenuBar to avoid assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:28:13 +00:00
Vadim Zeitlin
51ce89f1bf removed (well, kept empty shell to avoid breaking existing code) InheritAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:54:07 +00:00
Vadim Zeitlin
c4ca49cde3 implemented GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:55:21 +00:00
Vadim Zeitlin
e9cafd4289 use wxFULL_REPAINT_ON_RESIZE only for wxPreviewCanvas, not for the entire wxPreviewFrame -- this eliminates flicker of the control bar, at least
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:04:33 +00:00
Stefan Csomor
793921582e added adjustOrigin parameter to bounds calculation, added Freeze and Thaw implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:34:18 +00:00
Stefan Csomor
271cad4cf7 added adjustOrigin parameter to bounds calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:32:44 +00:00
Václav Slavík
20f46e8dc8 BCC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:17:50 +00:00
Vadim Zeitlin
9f4b46717b no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:19:39 +00:00
Vadim Zeitlin
7a69cd967a use MSWCreateControl() instead of the old mess; implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:15:07 +00:00
Vadim Zeitlin
39c7a53c9b implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:14:42 +00:00
Vadim Zeitlin
553c5bcc3a added wxGetCCDefaultFont() returning the default icon font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:09:48 +00:00
Vadim Zeitlin
34040e3126 default implementation of Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:07:32 +00:00
Vadim Zeitlin
1b69c81574 added Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:05:13 +00:00
Vadim Zeitlin
6046e57acc implemented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:50:59 +00:00
Vadim Zeitlin
b76f0023ae added and documented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:49:54 +00:00
Vadim Zeitlin
e1983ab588 implemented Freeze/Thaw() (patch 922156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 17:10:30 +00:00
Stefan Csomor
2d73b710e1 use base class implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:53:31 +00:00
Julian Smart
b8f19b1d93 Need wxUSE_LIBMSPACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 14:43:15 +00:00
David Elliott
46d492a879 Do not #undef wxNEED_PRINTF_CONVERSION if wxVsnprintf_ has not been defined
(to an OS implementation).  Instead, check when delcaring the wxSnprintf
and wxVsnprintf wrappers and only define them if wxVsnprintf_ has been defined.

This allows HAVE_VSWPRINTF to be false yet still allow other OS wchar
functions to be used which will be needed to work around FreeBSD/Darwin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 01:50:58 +00:00
David Elliott
dbdf9a176f wxMenuBase changes:
1. GetMenuBar() tries GetParent()->GetMenuBar() first (traverse up hierarchy).
2. IsAttached() returns true if GetMenuBar() returns a menubar.
3. AddSubMenu() does not call Attach() on added submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:49:21 +00:00
Robert Roebling
174b10af34 Applied SetForegorund colour patch for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:07:31 +00:00
Stefan Csomor
01299d5694 added port state save class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:28:08 +00:00
Vadim Zeitlin
d09dd96e31 removed separate wxSYS_ICONTITLE_FONT; made it the same as wxSYS_DEFAULT_GUI_FONT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:11:59 +00:00
Vadim Zeitlin
395a82b13f made wxADJUST_MINSIZE default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 10:18:38 +00:00
Stefan Csomor
8ab505498d added hilite change notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 08:39:31 +00:00
Julian Smart
8155488b31 Wince fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 08:12:04 +00:00
Stefan Csomor
5171553c22 expose metal appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 06:43:37 +00:00
Stefan Csomor
aa4d3151d6 glcanvas fix and toplevel event handler exposed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:47:01 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
David Elliott
cd70b968e7 Removed extraneous m_items (the real one is in wxMenuBase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 04:35:52 +00:00
Stefan Csomor
4f30545658 merge of new wxMac code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 07:15:02 +00:00
Stefan Csomor
34a336adb6 type safe proxy typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:47:41 +00:00
Stefan Csomor
f194560ed8 make things simpler, no default variant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:43:09 +00:00
Stefan Csomor
5d7fe188ad macos native debug levels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:40:58 +00:00
Stefan Csomor
da6a5fe2cf mach-o shared libs support for cw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 05:27:48 +00:00
Stefan Csomor
d9692c12b2 defines necessary for unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 05:26:42 +00:00
Stefan Csomor
9ea759d449 dispatch for header files in order to keep old way of includes working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 06:28:38 +00:00
Stefan Csomor
b3c35859d8 workaround for bug in CW MSL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 06:23:28 +00:00
David Elliott
7ce8248bc6 Make wxCocoa work with wxUSE_STL==1:
Use compatibility_iterator instead of Node and Erase instead of DeleteNode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 03:11:51 +00:00
Stefan Csomor
cf6fa9b9ad platform variants for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 19:41:10 +00:00
Stefan Csomor
6b941b35c0 unicode adaption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 19:30:21 +00:00
Julian Smart
7e521b01c3 Added UpdateSize to wxSplitterWindow, to allow an app
to force pane resizing _before_ showing the window.
Added a call to UpdateSize from helpfrm.cpp. Without
this, the flicker is horrible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 13:14:54 +00:00
Václav Slavík
dda36afd4a fixed warnings about unneeded arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 20:12:14 +00:00
Václav Slavík
1e6d9c20fd unified wxTaskBarIcon behaviour: wxMSW version is not removed automatically when all frames are closed, it must be destroyed explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 23:20:16 +00:00
Stefan Csomor
52479aefae classic/carbon split
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:38:49 +00:00
Stefan Csomor
8cf73271dd classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:35:05 +00:00
Vadim Zeitlin
cbc8c6ee97 moved wxWinHandleHash below wxWindow declaration as otherwise the dtor of forward declared wxWindow is not called inside WX_DECLARE_HASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:06:23 +00:00
Vadim Zeitlin
cf9df19136 removed wxMotif::wxMenuItem::DeleteSubMenu()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 17:47:50 +00:00
Vadim Zeitlin
ff79234425 distinguish between main keyboard and numeric enter keys (fixes 902095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 23:13:50 +00:00
Robert Roebling
c077ee9433 Applied notebook font patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:57:46 +00:00
Vadim Zeitlin
03b3965c3a why should wxMessageDialog dialog have another m_parent, in addition to wxWindow::m_parent? removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:51:35 +00:00
Vadim Zeitlin
9a63feff3a added wxSetCCUnicodeFormat() and use it in wxTreeCtrl/wxToolBar; also replaced SendMessage(LVM_SETUNICODEFORMAT) with a call to it in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:39:04 +00:00
Jouk Jansen
a371f70393 Committing in .
wxX11 for OpenVMS (phase 3)
   -minimal.exe for OpenVMS now builds and displays a window but crashes when
    trying to use the menus.

 Modified Files:
 	wxWidgets/descrip.mms wxWidgets/include/wx/vms_x_fix.h
 	wxWidgets/lib/VMS_X11_UNIV.OPT
 	wxWidgets/samples/minimal/descrip.mms
 	wxWidgets/src/univ/descrip.mms wxWidgets/src/x11/app.cpp
 	wxWidgets/src/x11/descrip.mms wxWidgets/src/x11/font.cpp
 	wxWidgets/src/x11/gsockx11.cpp wxWidgets/src/x11/utilsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 15:48:03 +00:00
Jouk Jansen
fdc37e95b3 Committing in .
Enabling wxX11 for OpenVMS (Phase 2)
    -partly redo and fix for prevous commit

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/display.h
 	wxWidgets/src/common/dpycmn.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 08:53:09 +00:00
Jouk Jansen
1aebc20057 Committing in .
Enabling wxX11 for OpenVMS (phase 1)

 Modified Files:
 	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/include/wx/display.h
 	wxWidgets/samples/minimal/descrip.mms
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/common/dpycmn.cpp
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/html/descrip.mms wxWidgets/src/univ/descrip.mms
 	wxWidgets/src/unix/descrip.mms wxWidgets/src/x11/descrip.mms
 Added Files:
 	wxWidgets/lib/VMS_X11_UNIV.OPT
 Removed Files:
 	wxWidgets/lib/vms_gtk_univ.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 08:04:29 +00:00
Václav Slavík
2a92d7e50f WXUSINGDLL is defined when building samples on non-MSW platforms for simplicity, corrected check for it to affect Win32 only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 23:12:58 +00:00
Stefan Neis
33689859bb Reverted setting WS_VISIBLE to 0, too many undesired side effects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 10:49:58 +00:00
Vadim Zeitlin
ea8f6fc718 initialize m_initialized to false to avoid spurious asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 22:20:42 +00:00
Václav Slavík
ca16b7a98e improved HTML tables layout code (patch 911377)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 20:47:31 +00:00
Robin Dunn
c0831a3c31 Implement wxBitmapButton::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 22:17:07 +00:00
Robin Dunn
c046274e38 implment wxBitmapButton::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 21:58:53 +00:00