Commit Graph

35534 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
fabd7a7fa1 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
2006-08-20 10:54:50 +00:00
Vadim Zeitlin
6e26ace6f1 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
2006-08-20 10:52:52 +00:00
Vadim Zeitlin
153a0b7831 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
2006-08-20 10:39:55 +00:00
Vadim Zeitlin
684e5b95a6 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
2006-08-20 10:38:55 +00:00
Vadim Zeitlin
551f281b79 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
2006-08-20 10:30:26 +00:00
Mattia Barbon
64fb0e2088 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
2006-08-20 09:44:41 +00:00
Robin Dunn
9389458452 Updates from Eli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 05:09:17 +00:00
Robin Dunn
d6d222febb Change Miki's email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:49:34 +00:00
Robin Dunn
90fb367e86 Add dtor for wxCalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:46:07 +00:00
Robin Dunn
09c4bfc330 Various updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:20:58 +00:00
Robin Dunn
a86960861f Add ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:19:39 +00:00
Vadim Zeitlin
db927071d5 don't use deprecated wxStripMenuCodes overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:21:18 +00:00