Francesco Montorsi
30800ba5e4
fix push/pop mechanism after r58786; add a few notes about the stack mechanism both in the docs and in the public header (see #10733 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 21:14:59 +00:00
Francesco Montorsi
dc1b07fd4d
use :: when referring to wxDefaultSize or wxDefaultPosition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:21:36 +00:00
Francesco Montorsi
c94bdf2a19
implement tooltips for wxStatusBar panes whose contents were ellipsized; introduce wxST_SHOW_TIPS and wxST_DEFAULT_STYLE styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:10:44 +00:00
Vadim Zeitlin
155032f9dc
fix confusion in IsSameAs() docs ( closes #10722 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 00:05:06 +00:00
Kevin Ollivier
27a3b24bee
Document CreateMeasuringContext now that it is available for all wxGC impls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-19 19:51:08 +00:00
Francesco Montorsi
f3289ffb1f
name wxStaticBoxSizer; some other minor wording clarifications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-19 19:46:36 +00:00
Francesco Montorsi
ea0022d356
grouping is not allowed for enum values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-19 13:29:19 +00:00
Jaakko Salli
16372f0d97
wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties ( closes #10690 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 19:28:39 +00:00
Vadim Zeitlin
b18e2046af
pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 13:00:40 +00:00
Vadim Zeitlin
6e2f308461
use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:23:50 +00:00
Francesco Montorsi
7ce58684a4
don't return whatever encoding was set in SetEncoding(); always return wxFONTENCODING_UTF8 instead since that's the real encoding always used by wxFont under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 23:18:50 +00:00
Vadim Zeitlin
35b9a07827
mention that SetValue() does generate a wxEVT_COMMAND_TEXT_UPDATED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 14:35:20 +00:00
Vadim Zeitlin
d911dc04ae
only run tests using multiline strings with multiline text control; document that using multiline strings doesn't work with singleline controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 13:22:09 +00:00
Vadim Zeitlin
ff3fd98a08
remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 12:47:46 +00:00
Francesco Montorsi
6aea1e4a70
implement wxNativeFontInfo::SetFamily for wxGTK with the same logic used by wxMSW; remove the now useless m_family from wxGTK's wxFont implementation; better docs for many wxFont functions (don't use typeface term; use the 'face name' one instead) and wxFontFamily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:53:26 +00:00
Francesco Montorsi
4b37c1bf05
now wxGTK is always compiled against GTK+ >= 2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 12:43:38 +00:00
Vadim Zeitlin
a1e92028b3
document that a valid image list is required for item dragging under MSW (see #4390 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:04:52 +00:00
Vadim Zeitlin
20cc4e199e
document wxFont(wxString) ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 10:41:30 +00:00
Vadim Zeitlin
727539d8bb
improve wxTreeItemData documentation ( closes #10662 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 13:07:24 +00:00
Vadim Zeitlin
85fcb94fc9
implement GetImageCount() for GIF handler ( closes #10663 ); added test for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:52:22 +00:00
Francesco Montorsi
8d2d37d268
fix doxygen warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:34 +00:00
Francesco Montorsi
6a9994cf2b
fix wxLogNull base class ( closes #10654 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:09 +00:00
Václav Slavík
197380a09f
always return (owned or non-owned, depending on build) wxScopedCharBuffer from utf8_str() and ToUTF8()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:28:42 +00:00
Václav Slavík
a6bb7a282d
fixed size of buffer returned by wxFormatConverter (it was too large before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 11:54:41 +00:00
Vadim Zeitlin
d21aa7f4eb
make it explicitly clear that the len parameter of SetData() is in bytes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:31:40 +00:00
Václav Slavík
1c60f64458
set icons bundle, not single icon, for frames loaded from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:25:23 +00:00
Václav Slavík
cee875e329
add support for loading wxIconBundles from streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:19:40 +00:00
Václav Slavík
6df09f32fd
added length to wx(Scoped)CharBuffer to improve handling of embedded NULs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:58:39 +00:00
Stefan Csomor
cfee725b1d
adding comment about wxHAS_OPENGL_ES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:20:14 +00:00
Vadim Zeitlin
89a7e1ff98
Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo().
...
- Implement for POSIX and Win32, TODO for OS X
- Use this instead of ad hoc code in wxDateTime::ParseFormat()
- Remove HAVE_STRPTIME, we don't need nor use strptime() any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:15:43 +00:00
Vadim Zeitlin
04a7eed137
update documentation for Bind() ( closes #10594 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 12:53:54 +00:00
Václav Slavík
de4983f323
split wxCharTypeBuffer<T> into wxScopedCharTypeBuffer<T> and wxCharTypeBuffer<T> -- the former is for transient data with validity limited to parent's lifetime, the latter is for permanent storage of string data (bug #9638 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 15:33:55 +00:00
Vadim Zeitlin
181dd701fa
implement deprecated wxStripExtension() in terms of new wxFileName::StripExtension() ( closes #10634 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:55:01 +00:00
Vadim Zeitlin
4209475ced
detect horizontal overflow in wxHtmlPrintout and warn the user about it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 13:37:37 +00:00
Francesco Montorsi
a912ea269e
add a few comments about the fact that Get/SetNativeFontInfoUserDesc are not meant for 100%-precise serialization/deserialization of wxFont objects, at least under wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 12:44:15 +00:00
Francesco Montorsi
071de7a097
document that under wxMSW slant == italic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 12:30:27 +00:00
Vadim Zeitlin
c398434d92
abandon attempts to make wxAnyStrPtr behave as bool: user-defined logical operators don't short circuit silently breaking existing code so it is better to not provide them at all; instead simply return bool from the new versions taking wxString::const_iterator; advise to use the new versions in the new code and so in our own files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:54:10 +00:00
Vadim Zeitlin
254696bb8f
return a wxAnyStrPtr covnertible to either narrow or wide char pointer from wxDateTime::ParseXXX() methods to improve compatibility with wx 2.8 and also simplify the code ( closes #9560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:21:29 +00:00
Francesco Montorsi
e3527f7bc5
make sure that wxSystemSettings::GetFont/GetColour return values are always valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:13:02 +00:00
Vadim Zeitlin
e538985edc
added GetEnglish{Month,WeekDay}Name()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 16:51:10 +00:00
Francesco Montorsi
ca5016d4dd
make sure that wxProcess always have a valid PID set; add test unit for wxExecute,wxShell,wxProcess based on the code in the console sample; add some more infos/notes in wxProcess docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:23:44 +00:00
Vadim Zeitlin
3b2fb7a165
don't change the dialog size when updating the message; document that this is intentional (see #10624 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:31:26 +00:00
Vadim Zeitlin
4d273001f4
added "bool checked" parameter to SetBitmap() too, for consisttency with GetBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:07:42 +00:00
Vadim Zeitlin
36f062d3da
modify signature of new wxStreamBuffer ctors to avoid conflicts with the existing ones ( closes #10144 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 10:59:40 +00:00
Francesco Montorsi
9de71074ec
wxEvtHandler derives from wxTrackable, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 00:26:17 +00:00
Francesco Montorsi
7bdb010f17
better docs for wxCmdLineParser (fixes a few typos, adds more comments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 23:29:14 +00:00
Francesco Montorsi
91c82e2cac
add missing beginEventEmissionTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 22:29:00 +00:00
Vadim Zeitlin
3bab636ddf
don't incorrectly say that wxSOCKET_REUSEADDR is for servers only ( closes #10626 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 22:02:30 +00:00
Vadim Zeitlin
34085a0d4f
deprecate integer trace masks and don't define the methods related to them if WXWIN_COMPATIBILITY_2_8==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 16:00:37 +00:00
Vadim Zeitlin
f1ddb476b1
use wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter not being defined in wx/spinctrl.h on non-MSW platforms (see #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 10:55:55 +00:00