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
Vadim Zeitlin
ba7a4bfbbb
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
2006-08-19 23:19:07 +00:00
Vadim Zeitlin
c2e9ada498
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
2006-08-19 23:17:07 +00:00
Vadim Zeitlin
86508681d4
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
2006-08-19 23:04:37 +00:00
Vadim Zeitlin
2158f4d798
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
2006-08-19 22:56:11 +00:00
Vadim Zeitlin
0be2741893
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
2006-08-19 22:36:10 +00:00
Paul Cornett
8f4931874c
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
2006-08-19 22:21:51 +00:00
Vadim Zeitlin
654ffe9f19
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
2006-08-19 22:17:08 +00:00