]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Fri, 25 Aug 2006 13:07:16 +0000 (13:07 +0000)]
forgot GTKSetDelayedFocusIfNeeded() call in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40817
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 25 Aug 2006 13:06:19 +0000 (13:06 +0000)]
Many changes:
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
virtual function (the new one is non-virtual and is implemented in terms of
GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
which now updates the cursor, checks for internal focus and sends update UI
events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40816
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 25 Aug 2006 12:59:28 +0000 (12:59 +0000)]
Many changes:
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
virtual function (the new one is non-virtual and is implemented in terms of
GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
which now updates the cursor, checks for internal focus and sends update UI
events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40815
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Fri, 25 Aug 2006 11:21:14 +0000 (11:21 +0000)]
Missing API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40814
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Fri, 25 Aug 2006 06:56:52 +0000 (06:56 +0000)]
Patches for OpenVMS port
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/gtk1/descrip.mms
wxWidgets/src/motif/descrip.mms wxWidgets/src/x11/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40813
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 25 Aug 2006 06:27:34 +0000 (06:27 +0000)]
set depth to 32 when creating pixbuf from wxImage with alpha; correct a few comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40812
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 25 Aug 2006 03:30:20 +0000 (03:30 +0000)]
Add wrappers for wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40811
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 25 Aug 2006 03:21:18 +0000 (03:21 +0000)]
Still check for a Python error in %threadWrapperOff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40810
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 25 Aug 2006 03:19:06 +0000 (03:19 +0000)]
Default construcctor for Iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 24 Aug 2006 21:18:18 +0000 (21:18 +0000)]
Add apptrait.h for msdos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40807
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 Aug 2006 21:05:20 +0000 (21:05 +0000)]
prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 Aug 2006 21:00:07 +0000 (21:00 +0000)]
don't reset the selection after event was vetoed if there is no old selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40805
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 Aug 2006 20:26:59 +0000 (20:26 +0000)]
added tests for setting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 24 Aug 2006 20:24:08 +0000 (20:24 +0000)]
Implement wxIsPlatform64Bit().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40803
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 24 Aug 2006 19:35:46 +0000 (19:35 +0000)]
Missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40802
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 Aug 2006 18:07:40 +0000 (18:07 +0000)]
fix compilation both for Robert's cross-compiler and for all normal compilers by just removing the offending m_item initialization line which is unnecessary anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40801
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 24 Aug 2006 17:50:10 +0000 (17:50 +0000)]
try to deal more gracefully (than simply not showing anything at all) with invalid UTF-8 strings (e.g. ISO-8859-1 strings inserted in controls with default (UTF-8) font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40800
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 17:43:42 +0000 (17:43 +0000)]
WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40799
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 16:33:28 +0000 (16:33 +0000)]
Follow OnOK changes in wxDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40798
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 16:08:21 +0000 (16:08 +0000)]
After adding check to wx/mgl/chkconf.h for UNIV flag, our regex needs this flag delivered by makefiles (with rebaking).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40797
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 15:40:00 +0000 (15:40 +0000)]
Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40796
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 15:37:25 +0000 (15:37 +0000)]
Avoid conflict between new transparency API and old background support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40795
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 14:52:50 +0000 (14:52 +0000)]
Blind wxTinderbox fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40794
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 14:47:18 +0000 (14:47 +0000)]
wx\settings.h is part of PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40793
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 14:43:20 +0000 (14:43 +0000)]
Keep wxPalmOS buildable - wxIcon and wxCursor moved to generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40792
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 14:35:48 +0000 (14:35 +0000)]
Keep wxPalmOS buildable - event table moved to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40791
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 14:33:43 +0000 (14:33 +0000)]
Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40790
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 24 Aug 2006 14:27:41 +0000 (14:27 +0000)]
Keep wxPalmOS buildable - missing functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40789
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 24 Aug 2006 11:08:42 +0000 (11:08 +0000)]
Added resize support to wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40788
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 24 Aug 2006 10:01:40 +0000 (10:01 +0000)]
Suppress warning from wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40787
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 24 Aug 2006 09:54:36 +0000 (09:54 +0000)]
revert bits for XBM bitmaps under MSW
adapt XBM usage in wxAUI to this logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40786
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 24 Aug 2006 09:35:06 +0000 (09:35 +0000)]
Reenable inversion code again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40785
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Thu, 24 Aug 2006 07:36:37 +0000 (07:36 +0000)]
Removed no longer needed "DECLARE_EVENT_TABLE()" completing the previous change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40784
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 24 Aug 2006 04:41:45 +0000 (04:41 +0000)]
allow white as mask color when creating mask from mono bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40783
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 24 Aug 2006 04:41:29 +0000 (04:41 +0000)]
correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40782
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 21:36:26 +0000 (21:36 +0000)]
Use the same colour for miniframe title bar and
wxAUI title bars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40781
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 21:08:43 +0000 (21:08 +0000)]
Use close button used in wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40780
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 21:07:33 +0000 (21:07 +0000)]
Readded close button to wxMiniFrame and use the
close XBM similar to the one used in Anjuta's
docking library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40779
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 20:01:34 +0000 (20:01 +0000)]
Comment out suspicious 1-bit bitmap conversion
which happens to break wxAUI (its close button).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40778
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 23 Aug 2006 19:07:15 +0000 (19:07 +0000)]
fixed HTML colours parsing after patch #
1473731 ('wxColourBase and wxString <-> wxColour implementation') broke it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40777
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 18:22:03 +0000 (18:22 +0000)]
Comment out direction aware code for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40776
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 23 Aug 2006 15:11:35 +0000 (15:11 +0000)]
clarified LeftIsDown() behaviour for left click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40775
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 14:02:53 +0000 (14:02 +0000)]
Add opaque move support to wxGTK's wxMiniFrame.
Use it in wxAUI (much less flicker and frame
activation problems). wxMiniFrame and the
Docked panes in wxAUI should use the same
code to draw titlebar etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40774
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 23 Aug 2006 13:47:22 +0000 (13:47 +0000)]
documented wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40773
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 23 Aug 2006 13:38:45 +0000 (13:38 +0000)]
allow passing URL to wxURLDataObject ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40772
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 23 Aug 2006 13:33:04 +0000 (13:33 +0000)]
respect the encoding of the text style and not only the global control font encoding when inserting the text in the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40771
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 23 Aug 2006 13:04:05 +0000 (13:04 +0000)]
no real changes, just use IsSingle/MultiLine() insteadof testing m_windowStyle directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40770
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 23 Aug 2006 11:17:13 +0000 (11:17 +0000)]
Added direction sensitive docking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40769
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 23 Aug 2006 10:45:51 +0000 (10:45 +0000)]
compilation fix for !wxUSE_BUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40768
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 23 Aug 2006 10:15:43 +0000 (10:15 +0000)]
set wxUSE_TOOLBAR_NATIVE to 0 when --enable-universal is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40767
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 23 Aug 2006 09:54:29 +0000 (09:54 +0000)]
removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 23 Aug 2006 02:35:06 +0000 (02:35 +0000)]
pass useMask=true for the toucan images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40765
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 23 Aug 2006 01:52:20 +0000 (01:52 +0000)]
Premultiply the alpha on wxMSW in the BitmapFromBuffer* functions so
the programmers don't have to worry about it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40764
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 23 Aug 2006 01:49:28 +0000 (01:49 +0000)]
Add BitmapFromBuffer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40763
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 23 Aug 2006 01:18:27 +0000 (01:18 +0000)]
Always create the pixmap with an alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40762
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Wed, 23 Aug 2006 01:17:02 +0000 (01:17 +0000)]
Show use use of both wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40761
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 Aug 2006 22:47:50 +0000 (22:47 +0000)]
Skip double size events.
Skip movements of floating pane when moving fast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40760
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 Aug 2006 22:37:15 +0000 (22:37 +0000)]
Set size of hint window before showing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40759
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 Aug 2006 22:14:23 +0000 (22:14 +0000)]
Forgot this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40758
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 22 Aug 2006 21:55:01 +0000 (21:55 +0000)]
Switch to AC_CHECK_DECLS instead of WX_CHECK_DECLS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40757
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 Aug 2006 21:50:28 +0000 (21:50 +0000)]
Add the new showOnIdle code to various other
widget which override OnInternalIdle().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40756
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 22 Aug 2006 21:47:09 +0000 (21:47 +0000)]
Revert last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 22 Aug 2006 21:15:21 +0000 (21:15 +0000)]
Add WX_CHECK_DECLS macro and try it out on strtok_r. Otherwise the test for
strtok_r succeeds on Minix though the function is not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40754
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 22 Aug 2006 20:17:36 +0000 (20:17 +0000)]
For an unknown generic unix system make --with-x11 --disable-shared the default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40753
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 22 Aug 2006 19:36:27 +0000 (19:36 +0000)]
prevent linker from discarding wxStockGDIMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40752
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 22 Aug 2006 19:07:21 +0000 (19:07 +0000)]
Compile fix for Minix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 22 Aug 2006 19:04:45 +0000 (19:04 +0000)]
Use string.h instead of memory.h, since some system don't have memory.h and
string.h is the standard header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40750
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 22 Aug 2006 19:03:22 +0000 (19:03 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40749
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 22 Aug 2006 17:27:42 +0000 (17:27 +0000)]
Added wx.BitmapFromBuffer and wx.BitmapFromBufferRGBA factory functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40748
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 22 Aug 2006 17:23:54 +0000 (17:23 +0000)]
Refactored wx.ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40747
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 Aug 2006 12:30:07 +0000 (12:30 +0000)]
Commited Bryan Petty's blind fix patch.
Added event.Skip() to size event handler
in frame manager and removed the wrong
work around for this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40746
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 22 Aug 2006 12:26:22 +0000 (12:26 +0000)]
Added intermediate state (m_showOnIdle) indicating that
time must be given to a window to get placed correctly
before it is shown. The avoids jumping windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40745
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 12:21:24 +0000 (12:21 +0000)]
fixed a crash and a leak in GetShortcutTarget() (closes bug
1541321 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40744
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 11:42:03 +0000 (11:42 +0000)]
mention wxPathList change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40743
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 11:19:06 +0000 (11:19 +0000)]
add round trip wxTextCtrl::Get/SetValue() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40742
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 11:05:03 +0000 (11:05 +0000)]
don't force UTF-8 encoding to ISO-8859-1 for GTK+ 2, it may have been necessary for GTK+ 1 but definitely not 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40741
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 10:32:48 +0000 (10:32 +0000)]
use size of wxNORMAL_FONT instead of hard coded 12 points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40740
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 10:29:32 +0000 (10:29 +0000)]
added "set encoding" menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40739
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 22 Aug 2006 10:07:35 +0000 (10:07 +0000)]
allow entering font description string interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40738
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 22 Aug 2006 03:08:01 +0000 (03:08 +0000)]
use wxModule to ensure proper initialization order for wxStockGDIMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40735
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 21 Aug 2006 23:13:42 +0000 (23:13 +0000)]
Don't emit bogus size events if a child window
is inserted into a frame or dialog.
I don't know why I wrote that non-sense back
then, but wxMSW doesn't do it either.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40734
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 18:32:48 +0000 (18:32 +0000)]
Added wx.lib.combotreebox from Frank Niessink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40731
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 18:30:34 +0000 (18:30 +0000)]
Move CanSetTransparent and SetTransparent up to wxWindowBase since
wxMac can handle transparency at that level.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40730
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 18:28:35 +0000 (18:28 +0000)]
Adapt to some wxDC methods becoming protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 18:27:15 +0000 (18:27 +0000)]
Make it possible to tell wxXmlResource which domain to pull
translatable strings from.
Make the wxLocale::GetString methods virtual so they can be overridden
in derived classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40728
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 17:32:58 +0000 (17:32 +0000)]
fix label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40727
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 17:32:18 +0000 (17:32 +0000)]
Added test of using CalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40726
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 21 Aug 2006 16:48:25 +0000 (16:48 +0000)]
Recognize the numpad cursor keys too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40721
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 21 Aug 2006 15:57:08 +0000 (15:57 +0000)]
still overriding the escape key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 21 Aug 2006 14:41:49 +0000 (14:41 +0000)]
removing unneeded event table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40718
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 21 Aug 2006 14:15:46 +0000 (14:15 +0000)]
Fix same compilation again, I guess 0 was
meant to initialize the wxTreeItemId to
nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40717
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 21 Aug 2006 14:12:12 +0000 (14:12 +0000)]
Fix compilation under MSW with GCC cross.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40716
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 22:24:57 +0000 (22:24 +0000)]
added stock menu items support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40710
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sun, 20 Aug 2006 16:32:21 +0000 (16:32 +0000)]
Added stub for wxIsPlatform64Bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40709
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 14:02:51 +0000 (14:02 +0000)]
don't use dynamic handlers for standard buttons as this prevents static event handlers in derived classes from working; just catch all button events in a static handler instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40708
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sun, 20 Aug 2006 13:29:42 +0000 (13:29 +0000)]
Removed event table as these things are now handled by wxDialogBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 12:14:41 +0000 (12:14 +0000)]
create status bar to see wxLogStatus messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40706
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 11:04:54 +0000 (11:04 +0000)]
removed unneeded cast to wxWindowDC in DrawItemSelectionRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 10:54:50 +0000 (10:54 +0000)]
connect the affirmative/cancel button handlers to new ids, not old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40704
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 10:52:52 +0000 (10:52 +0000)]
set wxID_CLOSE as affirmative id, not cancel id, this makes more sense for this dialog even if the effect is the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775