]>
git.saurik.com Git - wxWidgets.git/log
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
Vadim Zeitlin [Sun, 20 Aug 2006 10:39:55 +0000 (10:39 +0000)]
map Esc to GetAffirmativeId() instead of hardcoded wxID_OK when escape id is wxID_ANY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40702
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 10:38:55 +0000 (10:38 +0000)]
updates for wxDialog affirmative/escape id buttons handling changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40701
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 20 Aug 2006 10:30:26 +0000 (10:30 +0000)]
handle the buttons with ids specified in SetAffirmative/CancelId() as Ok/Cancel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40700
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 20 Aug 2006 09:44:41 +0000 (09:44 +0000)]
Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40699
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 20 Aug 2006 05:09:17 +0000 (05:09 +0000)]
Updates from Eli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 20 Aug 2006 04:49:34 +0000 (04:49 +0000)]
Change Miki's email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40696
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 20 Aug 2006 04:46:07 +0000 (04:46 +0000)]
Add dtor for wxCalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 20 Aug 2006 04:20:58 +0000 (04:20 +0000)]
Various updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40693
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 20 Aug 2006 04:19:39 +0000 (04:19 +0000)]
Add ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40692
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 23:21:18 +0000 (23:21 +0000)]
don't use deprecated wxStripMenuCodes overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40691
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 23:19:07 +0000 (23:19 +0000)]
don't use the hack with handling wxID_CLOSE button events in wxDialog::OnCancel(); simply map Esc to wxID_CLOSE instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 23:17:07 +0000 (23:17 +0000)]
tidy up configure output, don't show gnomeprint/vfs/hildon for non-GTK ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 23:04:37 +0000 (23:04 +0000)]
don't call base class OnOk() directly, use EndDialog() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 22:56:11 +0000 (22:56 +0000)]
moved all wxDialog event handlers to wxDialogBase to avoid code duplication
(sixplication?) among ports; as a side effect added public wxDialog methods to
wxDialogBase as well and moved EndDialog() (previously implemented by wxMSW,
wxMotif, wxMac and wxCocoa but not the other ports) to wxDialogBase too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 22:36:10 +0000 (22:36 +0000)]
centralized Esc key handling for closing the dialogs in wxDialogBase:
1. added wxDialogBase::OnCharHook() and removed this event handler from
all the other ports
2. also removed ad hoc code doing the same thing in wxMSW (MSWProcessMessage()
override in wxDialog) and wxGTK (in gtk_window_key_press_callback())
3. reimplemented EmulateButtonClickIfPresent() portably and also moved it
to wxDialogBase from wxMSW wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 19 Aug 2006 22:21:51 +0000 (22:21 +0000)]
use wxChar* instead of wxString for string constants, cuts object size by ~1200 bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40685
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 22:17:08 +0000 (22:17 +0000)]
compilation fix after wxPlatformInfo patch: use wxOS_WINDOWS_CE instead of wxWinPocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40684
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 21:48:33 +0000 (21:48 +0000)]
removed #ifdef wxTopLevelWindowNative -- it's now defined for all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 19 Aug 2006 21:30:06 +0000 (21:30 +0000)]
simplify coordinate transformation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 19 Aug 2006 21:28:18 +0000 (21:28 +0000)]
configure test for round
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40681
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 19 Aug 2006 21:16:18 +0000 (21:16 +0000)]
Patch #
1540143 Add optional labelwidths to filebrowsebutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sat, 19 Aug 2006 19:22:23 +0000 (19:22 +0000)]
Use global font and pen to reduce GDI objects created. Patch #
1540457
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 14:17:26 +0000 (14:17 +0000)]
update the item width when making it bold, otherwise the selection highlight was too small after an item was made bold (and too big after it was reset to normal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 10:53:37 +0000 (10:53 +0000)]
refactoring/simplification of code dealing with scrollbars and their events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 19 Aug 2006 10:05:59 +0000 (10:05 +0000)]
ScrollLines() didn't use correct step_increment, so e.g. wxTextCtrl scrolled in tiny steps instead of by lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 19 Aug 2006 08:45:31 +0000 (08:45 +0000)]
Shouldn't need to repeat the extern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 19 Aug 2006 08:44:33 +0000 (08:44 +0000)]
Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 19 Aug 2006 08:40:59 +0000 (08:40 +0000)]
Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 18 Aug 2006 20:56:34 +0000 (20:56 +0000)]
wxFileName size patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 18 Aug 2006 17:06:09 +0000 (17:06 +0000)]
code simplification and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775