Commit Graph

15020 Commits

Author SHA1 Message Date
Stefan Csomor
d6c69b1772 wake up corrections : correcting ref count (mem-leak) , keeping weak ref to avoid double posting wakeup-events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-18 10:55:19 +00:00
Stefan Csomor
fbd3562061 Big Endian Fixes, LCID support (must be paired with LCID-Charset support on the .hhp interpretation side)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-18 10:37:12 +00:00
Robin Dunn
fc32cd4a59 Only test the high order bit from GetKeyState, otherwise we can have
bogus readings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 16:31:14 +00:00
Ryan Norton
9180b5352f wxMediaCtrl API changes for 2.5.x/2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 16:07:21 +00:00
Ryan Norton
ef31f15728 Document osx hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 15:41:00 +00:00
Ryan Norton
beaae8c3d6 Warning fixes for msvc - return function address explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 15:37:30 +00:00
Vadim Zeitlin
301e257baf restored WS_EX_TRANSPARENT as otherwise background can be not drawn at all sometimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:27:31 +00:00
Robin Dunn
884a37aed2 reset m_selectionOld when the selection is programatically changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 21:26:55 +00:00
Włodzimierz Skiba
b1263dcfa3 Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 21:24:45 +00:00
Włodzimierz Skiba
4bfa318965 Send full url to wxHtmlWindow::OnOpeningURL validation (and therefore use wxURL to not duplicate code). Present it in statusbar of samples/html/test application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 20:32:43 +00:00
Włodzimierz Skiba
ea4daac45c Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 19:44:44 +00:00
Włodzimierz Skiba
09cbc94fea wxUniversal fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 19:39:25 +00:00
Włodzimierz Skiba
d0430ee2ba GCC of PalmOS fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 19:36:11 +00:00
Vadim Zeitlin
ffb1629fba suppress annoying beeps when enter is pressed in combobox and there is no default button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 13:25:54 +00:00
Vadim Zeitlin
27758ba7d4 restored accidentally removed code which deselects the previously selected button in SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 13:21:33 +00:00
Vadim Zeitlin
97152f7856 fix memory leak when using styes (closes 1086273)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 10:24:37 +00:00
Vadim Zeitlin
976b3cb3d9 added GetBestSize() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 02:39:11 +00:00
Vadim Zeitlin
6ed16512dd repaired setting foreground colours for the standard controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 01:50:34 +00:00
Jouk Jansen
f2ba382267 Committing in .
OpenVMS compile updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 08:02:07 +00:00
Jouk Jansen
41eb6d76b0 Committing in .
fix for gtk-1.x

 Modified Files:
 	wxWidgets/src/gtk/combobox.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 07:42:31 +00:00
Włodzimierz Skiba
463c4d7193 wx/math.h integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 21:10:15 +00:00
Włodzimierz Skiba
b713f8919c wx/math.h integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Włodzimierz Skiba
50c6bf91c8 Fixme removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:32:24 +00:00
Vadim Zeitlin
b987387052 more wxUniv compilation fixes (bug 1085003)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 12:33:53 +00:00
Vadim Zeitlin
18c509fb88 compilation fix for WXWIN_COMPATIBILITY_2_4 == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 12:30:42 +00:00
Włodzimierz Skiba
3454ecd508 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:10:59 +00:00
Vadim Zeitlin
e77c5d9682 reverted recent VK_OEM_PLUS change, do map it to '+' for now, but added a comment questioning whether this should be done at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:07:45 +00:00
Włodzimierz Skiba
e0d3147139 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:04:51 +00:00
Vadim Zeitlin
bdd1a35ddc (blind) wxUniv compilation fix: define the method using wxWindow out of line, i.e. after wxWindow is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:42:35 +00:00
Włodzimierz Skiba
3ad70d312e wx/msw/notebook.h needs wx/notebook.h in lack of precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 18:24:19 +00:00
Włodzimierz Skiba
bb8d428f33 Events table serves for RTTI too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 14:08:08 +00:00
Vadim Zeitlin
5b870dc087 use WX_FORWARD_STD_METHODS_TO_SUBWINDOWS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:03:44 +00:00
Vadim Zeitlin
bd0a76e228 1. derived wxMSW radio box from static box because it includes the box anyhow
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
   MSW nor GTK (this is the only change in GTK code)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Robert Roebling
6de9d616ca Correctd orientation of sash handle.
Adapted some code in the native scrolling window
    to the generic version's code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:29:32 +00:00
Vadim Zeitlin
b04093c949 use solid bacgkround for static box as pattern brush can't be properly aligned when it is painted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:12:37 +00:00
Vadim Zeitlin
c4a95f6f99 implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background to children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:11:14 +00:00
Vadim Zeitlin
c5bd3c6268 rewrote and virtualized the background erasing logic: each window may now
specify which background brush should be used for its children and each child
may also choose to use either background brush or (solid) background colour

wxWindow::OnEraseBackground() and wxControl::MSWControlColor() now use the
same code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:09:54 +00:00
Vadim Zeitlin
24181682fa don't use WS_EX_TRANSPARENT style, it doesn't seem to help with anything (if it is readded, please make sure to explain why exactly was it needed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 20:27:35 +00:00
Vadim Zeitlin
5554336399 check for any parent with non default background in wxControl::MSWControlColor(), not just wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 20:21:16 +00:00
Vadim Zeitlin
7af99268d4 override MSWGetDefaultBgBrush() to use transparent brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:47:01 +00:00
Vadim Zeitlin
d34e375c9c added MSWGetDefaultBgBrush() to allow some derived classes to use transparent brush for erasing background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:44:52 +00:00
Vadim Zeitlin
c71ce67511 fixed Union() for the case of this rectangle being empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:00:42 +00:00
Vadim Zeitlin
8a8dcc3421 position the labels correctly when we're created with fixed size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:59:42 +00:00
Vadim Zeitlin
7fe985eede create controls with 1*1 size by default, not 0*0 as it wreaks havoc with wxRect::Union logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:56:36 +00:00
Vadim Zeitlin
d5f330f9bc unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:59:41 +00:00
Vadim Zeitlin
8a8997c3be fixed broken logic in ShowFullScreen() (some compiler warnings are helpful)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:58:33 +00:00
Vadim Zeitlin
8da1f9a99e delete children in ~wxWindow dtor and not in the base class ~wxWindowNative as it's too late there (replaces patch 1082605; closes bug 1068000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:47:06 +00:00
Vadim Zeitlin
0ce5a3a853 fixed SaveDIB() crash with BW images (patch 1045884)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:40:00 +00:00
Vadim Zeitlin
8193d58f17 include <windows.h> before <multimon.h>, should fix mingw32 compilation (bug 966947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:34:36 +00:00
Stefan Csomor
0842200308 scrolling hack (always move our own scrollbars highest in z-order)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 15:22:49 +00:00
Vadim Zeitlin
f8fbc92bdb disable gcc warning about class having private dtors and no friends (patch 1065318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:55:37 +00:00
Vadim Zeitlin
70a7bd90f9 large files support for wxFFile (patch 1077980 from Mike Wetherell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:53:53 +00:00
Vadim Zeitlin
34ea3c7491 only handle WM_NULL in wxIdleWakeUpModule if it is being removed from queue (part of patch 1080770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:49:32 +00:00
Vadim Zeitlin
9af08eb826 use a linked list instead of array for saved messages to fix problems when Dispatch() is reentered (part of patch 1080770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:47:57 +00:00
Vadim Zeitlin
18dbea4d81 stop processing pending events after processing all of them which had been in the queue when we started, not until there are none as this could result in an infinite loop (part of patch 1080770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:44:46 +00:00
Vadim Zeitlin
5767e83699 fixed bug with lower-case colours in wxColourDatabase::AddColour() (patch 1074865)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:21:15 +00:00
Vadim Zeitlin
14b4c0ff12 gravity for splitter window (patch 1046105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:19:36 +00:00
Stefan Csomor
9d51726702 10.4 header collision fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 10:00:39 +00:00
Ryan Norton
350a44d9c0 fix wxTheApp include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 09:15:28 +00:00
Vadim Zeitlin
ab022a5c7a don't look for notebooks beyond first top level parent in our hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 00:09:40 +00:00
Vadim Zeitlin
e96ec686d8 never return NULL_BRUSH from WM_CTLCOLOR handler, it doesn't do much for most controls and breaks background erase for a few (slider, static text, static bitmap, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 00:06:43 +00:00
Vadim Zeitlin
6181cef532 use MSWAlwaysDrawBg() to fix the problem with black background; rewrote/cleaned up the positioning and window creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:41 +00:00
Vadim Zeitlin
c5c4c31e6c added MSWAlwaysDrawBg() to account for controls such as sliders which must not draw background with transparent brush no matter what
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:34:15 +00:00
Vadim Zeitlin
df83b840bb added and documented wxRect::Union(); also moved some methods inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:29:55 +00:00
Robert Roebling
f773e9b0bb Backed-out PNG8 patch (no time to look at why
it breaks other PNGs).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 21:52:36 +00:00
Vadim Zeitlin
88379f1f2e translate VK_OEM_PLUS to '=', not '+', because this is what the unmodified key is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 20:01:05 +00:00
Robert Roebling
ababa106ae Add SetFocusIgnoringChildren() to wxControlContainer. This
makes corresponding hacks in wxListCtrl and wxTreeCtrl
    obsolete. With docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 12:51:05 +00:00
Włodzimierz Skiba
d61f720033 Bug #1040683: Remove assert when deleting menu entry.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 16:20:13 +00:00
Julian Smart
b9a59c919c Workaround for memory bug when using wxRegConfig and calling
SetPath.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 11:24:10 +00:00
Vadim Zeitlin
a21d4ad106 really implemented operator==(); reformatted a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 11:23:16 +00:00
Vadim Zeitlin
55b5ddad74 compilation fix for wxUSE_DATAOBJ == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 19:39:17 +00:00
Julian Smart
4e324a3fbf Combobox corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:27:54 +00:00
Julian Smart
150e31d208 Added further 'missing' wxTextCtrl-like functions to wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Robert Roebling
e854ed477e Applied patch for PNG8 alpha mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:29:25 +00:00
Mattia Barbon
4ae1af0588 Check for Pango XFT presence (for wxX11).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:13:37 +00:00
Robert Roebling
78b3b018ce Corrected wxComboBox::GetValue() after a
selection has changed. Added test for
    that to the "widgets" sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:08:28 +00:00
Robin Dunn
28dfea7754 fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 20:36:13 +00:00
Julian Smart
55e0d33c97 Fixed spurious selection of combobox text during resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:51:48 +00:00
Włodzimierz Skiba
917be7ed06 wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platforms. wxColourMap definition centralized and 2.4 only. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:43:18 +00:00
Włodzimierz Skiba
ea76a6a5ca Fix to FIXME about using unused Get/SetOptimization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 20:10:40 +00:00
Włodzimierz Skiba
a5b274d7fc Correct way of modyfing stc.cpp. Thanks Robin for quick guide :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 19:49:27 +00:00
Stefan Csomor
577b58dfe9 fixing memory leak (reported by Ken Thomases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 07:47:15 +00:00
Stefan Csomor
7596e51dbc fixing memory leak (reported by Ken Thomases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 07:13:43 +00:00
Václav Slavík
feb1c9fb0c fixed ShowFullScreen after somebody broke it by naively using gtk_show_fullscreen without checking if the WM supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 22:44:39 +00:00
Włodzimierz Skiba
abc2a4ccec Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:35:00 +00:00
Włodzimierz Skiba
c8b75e9498 ssize_t for wxFile, unsigned char markup for color components, whitespace source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:32:42 +00:00
Robert Roebling
16edee16a7 Apply choice patch for proper handling of clearing
wxChoice (it reported a selection value of 0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 12:47:06 +00:00
Julian Smart
5e80ff3d31 Removed CF_NOSIMULATIONS flag to increase range of available fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 08:48:29 +00:00
Robert Roebling
77f706726c Implemented run-time checks for the GTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 23:03:09 +00:00
Ryan Norton
d7b995a497 Fix overflow warnings (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:52:23 +00:00
Robert Roebling
4e1901b70e Moved the implemtation of the generic and the
native GTK 2.4 file dialogs into one place
   by making wxFileDialog derive from the
   generic variant and by then choosing which
   implementation to use. Later, we'll add
   run-time checks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:30:18 +00:00
Kevin Hock
822cf31c27 Prevent GDK assertions when a window has a hidden (never shown) parent -- do not use wxRegionIterator over the parent if the parent is not mapped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 19:40:01 +00:00
Kevin Hock
b6ae8db82b Freeze/Thaw patch missed a place where m_buffer should be used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 19:15:11 +00:00
Julian Smart
bcfced3616 Neither PocketPC nor SmartPhone have SHBrowseForFolder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 18:56:29 +00:00
Robert Roebling
121ade4fd3 Corrected patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 17:29:03 +00:00
Julian Smart
b4367c87f1 Simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 17:02:17 +00:00
Robert Roebling
9ddf4854df Invalidate the best size after adding an item
to a wxChoice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 16:56:56 +00:00
Julian Smart
ade0e73d18 Further Wince fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 14:11:35 +00:00
Julian Smart
9e67e54178 Moved GetDefaultAttributes outside wxUSE_RICHEDIT block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 14:01:29 +00:00
Julian Smart
885b88a257 Unicode/WinCE corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 13:36:44 +00:00
Julian Smart
e0f6b731a8 Added flags argument to wxKill and wxProcess::Kill to allow it to
kill child processes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 12:53:25 +00:00
Włodzimierz Skiba
cb9d5bd07e wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Ryan Norton
7a4d2469f9 fix shared msw builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 23:17:51 +00:00
Kevin Hock
bdf0c19c6e Honor value of SetMaxLength, at least when typing (pasting still circumvents it). This is done by eating non-navigation/delete characters in OnChar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 21:35:40 +00:00
Ryan Norton
2b138cc2bd hack around 10.2/10.3 bug with duplicate symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 18:53:18 +00:00
Julian Smart
df1f4832e5 Spelling corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 16:16:51 +00:00
Julian Smart
a83ea9c15a Crash fix under VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 16:14:49 +00:00
Julian Smart
aaf1bbfd62 Fixed memory checking on Unix by removing inlines and apply patch
by Mart Raudsepp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 12:04:46 +00:00
Julian Smart
5c2cd0f67a Fix compilo on Unix using src/iodbc which has no SQL_C_WCHAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 09:42:03 +00:00
Ryan Norton
2cbfa061b4 Correct mistakes in wxStripExtension - correct wxString::npos. Spurred by 1073642 filefn.cpp StripExtension(wxString &)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:55:42 +00:00
Robert Roebling
d6c6acd640 Added support for GNOME print in static builds
also by adding the FORCE_LINK() statements.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 21:35:26 +00:00
Robert Roebling
4ea56379e3 Added support for static (inlined) wxImages with
alpha channel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 21:33:38 +00:00
Robert Roebling
41b81aed52 Applied Freeze()/Thaw() patch for wxTextCtrtl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Robert Roebling
1523681581 Applied font scaling patch (GetTextExtent()) to
new printing code as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:44:50 +00:00
Robert Roebling
0b18767089 Applied patch to correct EVT-CHAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:29:13 +00:00
Kevin Hock
254973247e Create wxGtkTextApplyTagsFromAttr for common processing of text attributes from both wxGtkTextInsert and SetStyle (and any other place needed in the future) -- from Mart R.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 04:28:40 +00:00
Włodzimierz Skiba
842215bbb7 Fixed old FIXME about unsigned result of sunstraction + a few changes to be able to compile at the same time wxLongLongNative and wxLongLongWx for unit tests about the same functionality (define wxLONGLONG_TEST_MODE for the build if you want to test it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 21:21:23 +00:00
Włodzimierz Skiba
6e848e9310 Duplicate include order from regex because it's well tested already and avoids the error in Unicode DMC build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 20:57:13 +00:00
Włodzimierz Skiba
ab9d0a8ca3 IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Kevin Hock
44ac608d14 gtk_window_[un]fullscreen only available with GTK >= 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:13:39 +00:00
Julian Smart
30413fd03e Added missing newline for Windows debug output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 16:55:42 +00:00
Włodzimierz Skiba
e70fda0eab Not native long long fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-29 12:47:20 +00:00
Robert Roebling
59c73be893 Made all of the GNOME print support based
on wxDynamicLibrary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:55:44 +00:00
Robert Roebling
c2740a5aab Dirty hack to prevent double destruction of file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:54:13 +00:00
Stefan Neis
2461cfa0d9 Added support for compiling with wxUSE_STL set to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 18:39:30 +00:00
Robert Roebling
c6efd6e0ec Start of run-time lookup of GNOME print libs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 17:55:48 +00:00
Robert Roebling
a733492856 Reverted changes that set m_widget to NULL in native
GTK+ dialogs for now. The problem persists, that
    when quitting the native file dialog with ESC, the
    dialog will be destroyed twice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 13:08:26 +00:00
Václav Slavík
6120f2fcdb fixed subtle SetDirectory bug re-introduced by latest changes (explained in comment in UpdateDialog); reintroduced UpdateDialog so that fixes like this are kept in single place and affect all ways of setting the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 10:49:01 +00:00
Václav Slavík
c019209981 reverted, the problem is deeper than that
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 09:41:36 +00:00
Václav Slavík
e0107cbd45 fixed to not duplicate code needlessly; clarified why gtk_file_chooser_set_current_name is called as it is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 09:33:43 +00:00
Robert Roebling
82c1f2a390 Make use of new Art.
Add sections to the dir dialog as per the
   GTK 2.4 file dialog (Home, Desktop, "/").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:25:30 +00:00
Robert Roebling
ddf6088b1e Added new Art which GTK+ 2.4 defines and
which we should use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:23:47 +00:00
Robert Roebling
f1dec25f31 Avoid error message when closing message
dialog with the X field from the WM.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:21:12 +00:00
Robert Roebling
76840ed0db Fixes for file dialog. No longer spits out
GTK error messages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:18:40 +00:00
Václav Slavík
4ac725a3b3 renamed Render's argument to not obfuscate its meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 22:40:05 +00:00
Robert Roebling
39a77f4cd9 A bit of confusion over what is RGB stands for blue...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 18:48:33 +00:00
Robert Roebling
4d1bc39c96 Give native GTK+ look to wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 16:30:03 +00:00
Václav Slavík
848c4eb27b fixed wxHtmlContainerCell to not render off-screen cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 13:08:54 +00:00
Robert Roebling
cac7ac30cb Added support for DrawEllipse and pen styles to
GNOME printing. Added test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 12:50:01 +00:00
Ryan Norton
f44eaed650 patch 1073385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 20:37:44 +00:00
Vadim Zeitlin
410c3efc05 removed cleanup module which was only used for working around bugs in memory debugging code which were fixed since
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 17:56:47 +00:00
Stefan Csomor
375bb200e3 removed explicit IDs for scrollbars on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 17:42:50 +00:00
Włodzimierz Skiba
4d4e1be2ef DMC conflicts with old SC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 16:53:41 +00:00
Ryan Norton
47b3cc5cac fix non-standard c warnings - stab to fix overflow warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 15:34:38 +00:00
Vadim Zeitlin
524065c14e added test for wxUSE_SCROLLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 14:53:08 +00:00
Vadim Zeitlin
2c62dd25cd changed the code to be really sure that exactly one update event is sent when SetValue() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 14:43:54 +00:00
Václav Slavík
2a2e4f4afa reverted Robert's over-optimisation, correct fix coming soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 08:32:49 +00:00
Ryan Norton
d4052bcb78 replace apple extended code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 22:42:37 +00:00
Vadim Zeitlin
df10208f26 don't disable non top tabs if visual themes are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:54:00 +00:00
Ryan Norton
11219c9ede finish getting rid of background flicker (MCI backend)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:24:11 +00:00
Vadim Zeitlin
82a16d7e5e added (and documented) msw.xp-tab-ok option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:24:09 +00:00
Ryan Norton
e163773d41 reduce black background flicker a bit - there is still some left sometimes initially (MCI backend)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:21:13 +00:00
Robert Roebling
58bd6224ac Changed the way invisble HTML cells are NOT
drawn so that no clipping is required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 20:28:19 +00:00
Ryan Norton
4ac6131914 fix a loading bug - set size if movie is passed into ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:10:44 +00:00
Włodzimierz Skiba
6bb44116c2 wxUSE_SLIDER=0 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 16:08:12 +00:00
Robert Roebling
0cf3b5429a Applied patch to stop crashing the tree control
when deleting a selected item. Also does something
   to the inplace edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 15:03:28 +00:00
Robert Roebling
ad68ed32f7 Applied patch to remoce surplus text update evevt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 14:51:44 +00:00
Robert Roebling
a9e003065d Applied kill patch (proper return value testing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 14:38:49 +00:00
Włodzimierz Skiba
11085e4baf Let's really remove border.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 14:01:47 +00:00
Jouk Jansen
44f3342ecc Committing in .
OpenVMS changes

 Modified Files:
	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/unix/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 10:25:41 +00:00
Robin Dunn
c220a8ec4f More DLL build fixes for wxMediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 00:07:45 +00:00
Václav Slavík
f3613896af compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 21:01:00 +00:00
Włodzimierz Skiba
0e871ad039 Fixes for wxUSE_SPIN... == 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 20:08:56 +00:00
Włodzimierz Skiba
44d60c0b26 Fix for assert after left click on tree in generic dir dialog in native MSW build. Source cleaning and readability fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 19:58:47 +00:00
Julian Smart
4f6b4292aa Calculate better height for toolbar (add borders)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 16:51:15 +00:00
David Elliott
0a1390c7d8 Seek calls take an offset which can validly be negative. Use >= LONG_MIN not 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 16:22:43 +00:00
Ryan Norton
316d19aca0 a stab at a dll fix for media lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:56:03 +00:00
Chris Elliott
fb88ba480b SF patch 1067466
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:54:38 +00:00
Ryan Norton
8f0ff17851 [ 1070686 ] wxOutputStream::Close()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:26:10 +00:00
Vadim Zeitlin
b01a88e050 don't show the status bar after restoring normal view after full screen if it had been hidden all along (bug 1071354); code cleanup: removed unused variables, reduced #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:53:34 +00:00
Ryan Norton
ff2b312fc8 dll fixes for media lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:46:51 +00:00
Włodzimierz Skiba
61c083e781 wxBookCtrl->wxBookCtrlBase. wxBookCtrl is now most suitable book for given platform. Samples adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 11:45:07 +00:00
Vadim Zeitlin
8329fea8ad rebaked after adding src/tiff/tif_color.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 08:46:26 +00:00
Vadim Zeitlin
f616aec7dc don't apply tab control background when using wxUniv, it renders background itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 22:19:34 +00:00
Robert Roebling
cffcf831ad Work in progress on printing stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 21:50:31 +00:00
Julian Smart
ab4d1ea9cd Licence line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:57:03 +00:00
David Elliott
90d3f91a04 Set m_minWidth, m_minHeight so that GetBestSize() works properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:41:04 +00:00
David Elliott
7bf8eb78aa Do not move the wxMDIParentFrame to (-10000,-10000) if it has a toolbar.
NOTE: Ideally the toolbar would be moved internally to wxMac into its own
floating frame and then the question of whether the parent frame should be
hidden would be one of "does it not have controls OTHER than a toolbar?"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:19:37 +00:00
David Elliott
0bba37f51d Fix centering of top-level children of wxMDIParentFrame on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:10:53 +00:00
Włodzimierz Skiba
51e298bbbb GCC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 17:48:33 +00:00
Włodzimierz Skiba
f9df3f0586 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 17:45:20 +00:00
Vadim Zeitlin
f43707413a (blind) fix for GTK2/Unicode crashes when copying text to the clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 17:37:58 +00:00
Ryan Norton
53638fe05b guess to get initial font selection working on OSX 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 17:18:58 +00:00
Kevin Hock
c2094564d7 At least under GTK2, we do not need m_widget->window to be non-NULL in order to successfully change the background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 16:37:27 +00:00
Vadim Zeitlin
bb180f9057 compilation fix for USE_PCH == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 16:22:12 +00:00
Ryan Norton
6d5a34485b delete-->delete[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 16:02:26 +00:00
Julian Smart
706fb8932a Changed Rocketeer licence to wxWindows licence, by authorisation
of the copyright holder, Johnny C. Norris II


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:55:34 +00:00
Włodzimierz Skiba
9f9f75b380 Fix the assert of not reset highlighted menu item pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 12:36:07 +00:00
Ryan Norton
c5d99d7b5c UNICODE-capatable UTF8 implementation of wxStringXXXStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:05:04 +00:00
Kevin Hock
955f0add89 The presence of the effects controls (i.e. color) should not depend on whether or not a color is present in the font data, but rather whether or not EnableEffects is true or false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 19:57:44 +00:00
Ryan Norton
ba8546912d wxTextOutputStream::PutChar and text stream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:26:38 +00:00
Ryan Norton
2c09fb3b8b wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Vadim Zeitlin
39ccbf9a31 fix for a crash with wxUSE_STL == 1: test for failed conversion in GetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 12:21:14 +00:00
Robert Roebling
06cfd325c3 Huurrayy, the GNOME page setup dialog is
broken in its native version. All the
   fuss for nothing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 23:11:40 +00:00
Robert Roebling
891daf8c1e Forgot to commit this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:50:55 +00:00
Robert Roebling
08680429a2 Made wxPageSetupDialog a pimpl implementation.
Added a few clean-ups.
  Added native GNOME page setup dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:46:25 +00:00
Václav Slavík
14470b4477 unzip.h is no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 11:13:31 +00:00
Vadim Zeitlin
7da0253866 new files in libtiff 3.6.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 00:17:39 +00:00
Robert Roebling
32f2ebbf2f Use GTK+ calls for fullscreen mode.
Fix bug with wrong tlw position after
    a sequence of hide/show.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 00:00:49 +00:00
Robert Roebling
1d65e535d5 Corrected positioning of rotated text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 23:15:14 +00:00
Vadim Zeitlin
00cb87b4be upgraded libtiff to 3.6.1 + security fixes (patch from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 22:29:47 +00:00
Vadim Zeitlin
83c4e1ee2d removed unneeded wx/notebook.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:51:16 +00:00
Vadim Zeitlin
9b7d2b81cc added another DoEraseBackground overload (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:50:25 +00:00
Vadim Zeitlin
65546961ea create BS_GROUPBOX transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:49:30 +00:00
Włodzimierz Skiba
e1d6e01c88 Sorting fixes to wxUniv wxCombo/ListBox [part of bug #1040593].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:38:04 +00:00
Vadim Zeitlin
b8a9578b80 don't draw themed background for standard controls; they do it themselves and so this only results in even more flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:37:20 +00:00
Vadim Zeitlin
18342f1993 don't set background colour explicitely; no need to handle WM_ERASEBKGND ourselves now that it is done correctly at wxControl level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:55:34 +00:00
Vadim Zeitlin
5c836c463a refactored code to do brush adjustment for bg drawing in only one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:53:03 +00:00
Vadim Zeitlin
48fa6bd38a replaced OnCtlColor(7 params) with MSWControlColor(1 param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:40:31 +00:00
Robin Dunn
2b02216951 Give SendSizeEvent a generic implementation. It can be useful on
non-MSW platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:20:01 +00:00
Vadim Zeitlin
9ae8168e5b removed OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:05:12 +00:00
Vadim Zeitlin
9f368d0d59 removed (unused) nCtlColor parameter of OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:04:09 +00:00
Vadim Zeitlin
01c500af65 removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implemented it to use tab control background if applicable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:37:42 +00:00
Vadim Zeitlin
caf95d2aef added support for drawing themed background: DoEraseBackground() and GetThemeBackgroundBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:36:45 +00:00
Włodzimierz Skiba
06aa40d92c Do not make bitmap buttons with standard width (like in wxComboBox drop down button).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 15:55:24 +00:00
Ryan Norton
3f5ca6b1c3 part of patch [ 649438 ] Bug fixes from Netscape/AOL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:46:34 +00:00
Ryan Norton
71f2fb52d5 Enable stl compilation with wxMac - unicode no work on 10.2 though. Modded patch 1051991.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 06:57:02 +00:00
Stefan Csomor
ee9a28abee apparently this code might be called with a CFSocket not yet constructed, guard against NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 06:34:47 +00:00
Václav Slavík
9755e73bd9 applied modified patch with native GTK wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Vadim Zeitlin
38c58c778d don't erase background in wxControl neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 23:20:10 +00:00
Vadim Zeitlin
17bcd9a6b5 set background style to wxBG_STYLE_COLOUR in SetBackgroundColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 22:32:52 +00:00
Ryan Norton
e06cac589d [ 1067084 ] fs_zip.cpp assertion fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 17:03:02 +00:00
Ryan Norton
9de05dfd08 fix compilo pointed out by OW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:49:11 +00:00
Ryan Norton
984b0d8ba7 get rid of singleCustomColour - its not needed. Cleanup/optimize a bit more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:35:16 +00:00
Ryan Norton
dc2ee831d3 fix bug where color chosen by sliders wouldn't be registered. Optimized a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:24:11 +00:00
Robert Roebling
0be7709e71 Added support for native print preview (GNOME)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:45:40 +00:00
Robert Roebling
f1c72f0ca0 Implemented DoDrawRotatedText() by way of a
rotation of a alpha blended text bitmap.
    It would be better if Pango could draw
    directly into an wxImage (as FreeType)
    can, but that is for later..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:04:30 +00:00
Robert Roebling
6408deedee Added support for alpha channels in interpolated
and non-interpolated image rotation.
  Added helper method for turning shades of grey
    into shades of alpha and a colour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:01:45 +00:00
Włodzimierz Skiba
415a0ff16d 3rd state in checkboxes for wxUniv [closes bug#1040585].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 13:16:41 +00:00
Václav Slavík
6ff734acec reverted DrawRotatedText change, it's broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 10:30:22 +00:00
Julian Smart
5117f9bfae Null m_select_me when this item is deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 10:02:56 +00:00
Stefan Csomor
1ad48afbfd avoid locale that always returns US-ASCII on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 09:50:11 +00:00
Ryan Norton
18f8d06335 fix initial color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 08:36:25 +00:00
Robert Roebling
c874715013 Start for Pango 1.6 based text rotation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 21:57:16 +00:00
Robert Roebling
b199de5962 Added support for most print page/selection/copies
etc. options in the native GNOME dialog.
  Added support for printing rotated text and alpha
   channel images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 21:56:02 +00:00
Stefan Csomor
8f7d7be817 added unix/stdpaths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 18:38:10 +00:00
David Elliott
e2eafeff03 Implement toolbar tool clicks. Get rid of wxNSActionCell stuff because
Cells send their action from the view anyway so we'd have no way of knowing
which tool was clicked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 18:02:56 +00:00
Robert Roebling
2934005d7d Use native printing dialog for wxPrintDialog,
not for setup only as before. It prints,
    but page selection etc. is still an idea


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:59:50 +00:00
Włodzimierz Skiba
ecae80b250 Typecast before endian adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:36:28 +00:00
Włodzimierz Skiba
26481315da Several casts due to assigning signed to unsigned or more to less bits of integral values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:13:29 +00:00
Włodzimierz Skiba
682f3d0207 Typecast during compilation instead of class constructor call (OW warnig fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:11:08 +00:00
Stefan Csomor
f3660dcb2f wxStat call preliminary fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 15:16:58 +00:00
Julian Smart
22cfea03b8 Added IsTopLevel() check to last message loop in PreProcessMessage. This
stops e.g. ESC being processed by a parent modal dialog if not processed
by the child -> assert and lockup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 13:42:14 +00:00
Ryan Norton
e0d8c923f5 who knows, maybe this will fix the 10.3 problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 07:39:21 +00:00
Kevin Hock
e4899fd770 Fix tree control focus issues on OS X (and possibly others) caused by toplevel.cpp not giving focus if children eat the LEFT_DOWN event... added event.Skip() on LeftDown() (whether an item is hit or not) after all dragging and moving conditions have been considered so that LEFT_DOWN events are never eaten by the tree preventing receiving focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 02:33:58 +00:00
Stefan Csomor
fe4fcb5f4f somehow commit did not work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 20:08:25 +00:00
Ryan Norton
551caf8ba3 missed commit files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 16:41:11 +00:00
Ryan Norton
4e69ff2268 makefile regen, include fix, duplicate file fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 15:53:38 +00:00
Ryan Norton
356c775fcf cleanup OSX native font dialog stuff a bit (it should prob. be an option in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 14:36:10 +00:00
Ryan Norton
3582fcbc09 files for native font dialog on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 14:19:03 +00:00
Włodzimierz Skiba
e7a3a5a51b WinCE fix. IsEmpty() -> empty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:56:18 +00:00
Włodzimierz Skiba
e207252560 WinCE correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:54:33 +00:00
Włodzimierz Skiba
4dca492943 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:52:47 +00:00
Włodzimierz Skiba
226ec5a71a Define wxMediaEvent before it is used. Make OnMediaFinish compatible to wxObjectEventFunction. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:49:27 +00:00
Vadim Zeitlin
fcbe123e48 added operator>>(wchar_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:07:03 +00:00
Vadim Zeitlin
b9691677a0 made default background colour BTNFACE (so that panels don't have to erase their background explicitly); removed now unneeded SetBackgroundColour() in wxDialog which now has default bg colour and restored one in wxFrame which now has a non default one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:00:51 +00:00
Václav Slavík
c643a97740 fixed wxEncodingConverter-base wxCSConv to report failures as expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:58:56 +00:00
Václav Slavík
02c92ad972 modified wxEncodingConverter API to report failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:58:24 +00:00
Vadim Zeitlin
d7c65934e6 removed unused variable to suppress warning (and put a TODO in place)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:30:15 +00:00
Stefan Csomor
393b27add0 onsize event not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 06:04:59 +00:00
David Elliott
b9d84e4c06 Prevent crashes in wxFFile(Input|Output)Stream: Do not call Eof() or Error()
without first checking IsOpened().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 03:15:00 +00:00
David Elliott
f12a90c7c2 Use wxUint16 instead of WORD and wxUint8 instead of BYTE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 20:51:05 +00:00
Stefan Csomor
4b8f2c2b5f changed fonts on OSX to use OSX system fonts having the full Unicode Tables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 20:25:18 +00:00
Stefan Csomor
b07760f1b6 adapted to current filelist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 19:50:58 +00:00
Stefan Csomor
28997d375d correcting include type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 19:29:51 +00:00
Vadim Zeitlin
658f53c700 set bg style to custom as we overwrite it anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 19:20:47 +00:00
Vadim Zeitlin
6421119dd5 fixed XP sash rendering to really do something (using REBAR style didn't work but it was hidden because background was erased anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 19:17:45 +00:00
Vadim Zeitlin
b8335252d2 don't draw background at all if bg style is custom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 19:15:53 +00:00
Vadim Zeitlin
caea50acee removed unnecessary (now that we leave Windows paint background itself) SetBackgroundColour() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:22:11 +00:00
Vadim Zeitlin
8681b0940e restored OnEraseBackground(), we do need it but only for the cases when the window has a non default background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:10:48 +00:00
Włodzimierz Skiba
9a431f4d03 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 17:40:00 +00:00
Włodzimierz Skiba
7166a05d7e Vertical tabs orientation in gtk renderer of wxUniv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 17:33:59 +00:00
Vadim Zeitlin
e2c49e5cd2 don't always erase the background ourselves as this is incompatible with XP themed appearance (replaces patch 1046164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 14:43:51 +00:00
Włodzimierz Skiba
00e086a7f0 Partial fix to bug #1040607: support for vertical orientation in win32 renderer of wxUniv notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 11:25:13 +00:00
Václav Slavík
5d7457f9ca fixed to work with themes that redefine icons (e.g. Fedora's Bluecurve)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 11:15:08 +00:00
Ryan Norton
ed5f2bd879 fix technical accuracy of statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 07:20:35 +00:00
Ryan Norton
78450975b2 WXUNUSED warning fixes - unicode compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 07:18:22 +00:00
Ryan Norton
876f6cee1f fix for [ 1066432 ] wxTextOutputStream: endl doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 06:59:44 +00:00
Włodzimierz Skiba
041ae20237 wxUniv use wxBU flags [bug #1040584]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 06:23:57 +00:00
Václav Slavík
32efded3f9 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:34:36 +00:00
Ryan Norton
ff4aedc554 Massive reworking of wxMediaCtrl code - backend everything, search for backends via RTTI lookup, and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:26:55 +00:00
Václav Slavík
1abedc328b fixed rendering of bitmaps with alpha channel under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:03:51 +00:00
Václav Slavík
1df61962e8 added system colours and fonts support to XRC (based on patch #1038207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 21:53:51 +00:00
Ryan Norton
6fb603d745 spelling/grammer (lol) :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 16:56:29 +00:00
Václav Slavík
b1d547ebc5 made wxMBConv_iconv MT-safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 10:52:17 +00:00
Robin Dunn
7b8a9da3c8 Fix for uninitialized pointer access from wxPrintData's copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:26:20 +00:00
Václav Slavík
c263eb0384 more wxPostEvent MT fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:44:26 +00:00
David Elliott
fc480dc16b Moved wxStandardPathsCF into base library when using CarbonLib or Darwin.
Make wxStandardPathsBase::Get() return a wxStandardPathsBase reference.
Implement it using wxAppTraits::GetStandardPaths() which is overridden by
wxMac and wxCocoa GUI libraries to return a reference to a wxStandardPathsCF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:21:00 +00:00
David Elliott
6a91f7142d Fix build on platforms without any real source in the new media library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 15:48:10 +00:00
Julian Smart
484149522d Notebook page bitmaps now supported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 15:28:48 +00:00
Włodzimierz Skiba
2e0ef2ae56 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:36:46 +00:00
Ryan Norton
9777274a4a fix for when zlib is not compiled in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:05:24 +00:00
Włodzimierz Skiba
cf2372509c dwCallback if DWORD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 12:37:39 +00:00
Ryan Norton
cbfb8fe75a explanation of getdefaultattributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 10:05:13 +00:00
Ron Lee
72259e0063 wxUSE_POSTSCRIPT is not a sufficient test by itself for
wxPostScriptPrintNative data.  This is probably still not
100% correct but at least msw builds again for mingw now.

Fixed bogus eof (and removed junk whitespace) from mediactl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 06:52:19 +00:00
Ryan Norton
33d8e2fcb6 mingw evidently doesn't have digitalv.h according to mmedia sources - post a workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 06:35:09 +00:00
Ryan Norton
5987f174f7 workaround to call directshow drivers without actually using directshow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 06:29:08 +00:00
Ron Lee
f8a586e08e Cruft cleanup from MJW, strip the tabs out of sound.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:30:07 +00:00
Ron Lee
d51253e844 Patch from MJW for ssize_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:06:44 +00:00
Vadim Zeitlin
4626345596 fixes to ZIP/archive patch (patch 1064426); should fix the docs build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 19:10:35 +00:00