Václav Slavík
dbfa7f339c
compilation fix for !wxUSE_BUTTON
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:45:51 +00:00
Václav Slavík
452b624353
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
2006-08-23 10:15:43 +00:00
Václav Slavík
27cc91429d
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
2006-08-23 09:54:29 +00:00
Robin Dunn
59b7a28003
pass useMask=true for the toucan images
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 02:35:06 +00:00
Robin Dunn
1d1972fce1
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
2006-08-23 01:52:20 +00:00
Robin Dunn
0dcc6f2287
Add BitmapFromBuffer demo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:49:28 +00:00
Robin Dunn
c7deb4ab80
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
2006-08-23 01:18:27 +00:00
Robin Dunn
8ef089485c
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
2006-08-23 01:17:02 +00:00
Robert Roebling
0ae3bace9b
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
2006-08-22 22:47:50 +00:00
Robert Roebling
e65fbef69d
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
2006-08-22 22:37:15 +00:00
Robert Roebling
1417c81163
Forgot this one.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:14:23 +00:00
Michael Wetherell
82a2636b8c
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
2006-08-22 21:55:01 +00:00
Robert Roebling
7317857df7
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
2006-08-22 21:50:28 +00:00
Michael Wetherell
0f5ba0fb0c
Revert last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:47:09 +00:00
Michael Wetherell
5acfd58da0
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
2006-08-22 21:15:21 +00:00
Michael Wetherell
047cffd261
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
2006-08-22 20:17:36 +00:00
Paul Cornett
2260bc5fb1
prevent linker from discarding wxStockGDIMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:36:27 +00:00
Michael Wetherell
1f7c2c9a81
Compile fix for Minix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:07:21 +00:00
Michael Wetherell
5b8ee5dec9
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
2006-08-22 19:04:45 +00:00
Paul Cornett
cc65c5f9d8
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:03:22 +00:00
Robin Dunn
238ba802f1
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
2006-08-22 17:27:42 +00:00
Robin Dunn
bf7df69ef6
Refactored wx.ImageFromBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 17:23:54 +00:00
Robert Roebling
8d361e8353
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
2006-08-22 12:30:07 +00:00
Robert Roebling
f46ad98f0d
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
2006-08-22 12:26:22 +00:00
Vadim Zeitlin
cea0869cdf
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
2006-08-22 12:21:24 +00:00
Vadim Zeitlin
4f92e6ef06
mention wxPathList change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 11:42:03 +00:00
Vadim Zeitlin
de47428c46
add round trip wxTextCtrl::Get/SetValue() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 11:19:06 +00:00
Vadim Zeitlin
13f095d26d
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
2006-08-22 11:05:03 +00:00
Vadim Zeitlin
63a8f2d351
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
2006-08-22 10:32:48 +00:00
Vadim Zeitlin
c6b7296035
added "set encoding" menu item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:29:32 +00:00
Vadim Zeitlin
1baec21fce
allow entering font description string interactively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:07:35 +00:00
Paul Cornett
00f79e3471
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
2006-08-22 03:08:01 +00:00
Robert Roebling
89579a60d7
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
2006-08-21 23:13:42 +00:00
Robin Dunn
4f708f05dc
Added wx.lib.combotreebox from Frank Niessink
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:32:48 +00:00
Robin Dunn
b58d5e2d95
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
2006-08-21 18:30:34 +00:00
Robin Dunn
4caf1fc560
Adapt to some wxDC methods becoming protected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:28:35 +00:00
Robin Dunn
d4a724d407
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
2006-08-21 18:27:15 +00:00
Robin Dunn
4e9080bc8e
fix label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 17:32:58 +00:00
Robin Dunn
47f116ccbf
Added test of using CalendarDateAttr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 17:32:18 +00:00
Robin Dunn
340515d36d
Recognize the numpad cursor keys too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 16:48:25 +00:00
Stefan Csomor
ab718f6e4c
still overriding the escape key
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 15:57:08 +00:00
Stefan Csomor
e371ec7a3c
removing unneeded event table
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 14:41:49 +00:00
Robert Roebling
a680f9a170
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
2006-08-21 14:15:46 +00:00
Robert Roebling
03e7d1397e
Fix compilation under MSW with GCC cross.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 14:12:12 +00:00
Vadim Zeitlin
ab73fe8d1d
added stock menu items support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 22:24:57 +00:00
Stefan Neis
4cc49137de
Added stub for wxIsPlatform64Bit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 16:32:21 +00:00
Vadim Zeitlin
a9f620daf4
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
2006-08-20 14:02:51 +00:00
Stefan Neis
3857173d3c
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
2006-08-20 13:29:42 +00:00
Vadim Zeitlin
f9d0e43901
create status bar to see wxLogStatus messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 12:14:41 +00:00
Vadim Zeitlin
75deeb0dee
removed unneeded cast to wxWindowDC in DrawItemSelectionRect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 11:04:54 +00:00