Commit Graph

5947 Commits

Author SHA1 Message Date
Peter Cawley
3c3ead1d15 Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 12:06:02 +00:00
Vadim Zeitlin
1a2df6a75b Change wxBoxSizer::AddSpacer() to only add space in sizer direction.
It used to add a spacer with the given size in both directions but this was
counter-intuitive and wasn't expected even by the original author of this code
so change it to behave more reasonably.

Closes #11197.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-15 17:05:32 +00:00
Vadim Zeitlin
af0ac990fc Add wxXmlResource::LoadObjectRecursively().
These methods can be used to load objects from anywhere in the XRC resource
tree and not just from the top level.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-14 23:22:00 +00:00
Vadim Zeitlin
ba9574c310 Added support for corner, row and column headers renderers to wxGrid.
Make it possible to customize the appearance of wxGrid corner window and its
row and column headers by defining custom renderers for them.

Add demonstration of this new feature to the grid sample and update the
documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-14 00:45:29 +00:00
Vadim Zeitlin
40ac5040ce Add convenient wxMBConv::cMB2WC/WC2MB overloads taking buffers.
These overloads allow not to worry about buffer lengths and just convert
between wxCharBuffer and wxWCharBuffer directly in a convenient way.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 22:40:25 +00:00
Vadim Zeitlin
ab06470e49 Add wxDEBUG_LEVEL to wx/setup.h and document it.
Under Unix wxDEBUG_LEVEL can be set using configure --enable-debug=max option
but under Windows it needs to be changed in wx/msw/setup.h so add it to this
file with a comment explaining its meaning.

Also document this symbol with the other preprocessor constants.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 11:29:42 +00:00
Vadim Zeitlin
7d9550df50 Define wxDEBUG_LEVEL in both debug and release builds as 1.
By default include assertions and debug logging in both debug and release
builds but disable them in application release builds (when NDEBUG is
defined).

Also update (more accurately, replace) debugging overview.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 11:28:52 +00:00
Vadim Zeitlin
9508a056c1 Document wxStandardPaths vendor-related changes.
The change in the values returned by wxStandardPaths functions is important as
it's incompatible with 2.8 if the application defines a vendor name so must be
mentioned in docs/changes.txt.

Also update the documentation of the class itself and mention UseAppInfo() in
the overview.

Closes #11189.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 10:41:55 +00:00
Julian Smart
521f1d8371 wxPropertyGrid: added wxPG_NO_INTERNAL_BORDER, wxPG_EX_NO_TOOLBAR_DIVIDER
and wxPG_EX_TOOLBAR_SEPARATOR styles for finer control over borders.
Borders around property grid are now native for consistency.
Some strange VC6 compiler errors fixed, plus size assertion in
sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-11 11:49:03 +00:00
Julian Smart
8a05a8d7d0 Documented a couple of combo control fixes on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-11 11:42:05 +00:00
Vadim Zeitlin
834d36af06 Mention wxOSX/Cocoa in the old wxCocoa docs.
The old wxCocoa port isn't what most people are looking for so point them to
wxOSX/Cocoa if they look under docs/cocoa.

Closes #11182.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-10 12:49:06 +00:00
Vadim Zeitlin
7c9cc312e7 Show the order in which different event handlers are called.
Update the event sample to define (as) many (as possible) event handlers for a
test button and log messages in all of the handlers to leave a trace of the
order in which they were executed.

Add a pointer to this feature of the event sample to the events overview.

Closes #11156.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-07 23:00:21 +00:00
Vadim Zeitlin
758f356c53 Fix bug with parsing concatenated switches in wxCmdLineParser.
The constructs such as "-abcd" were not parsed correctly, i.e. the same as "-a
-b -c -d" because the code tried to parse a non-existent option "abcd" even if
it was supposed to not do this -- fix this.

Closes #11180.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-07 23:00:05 +00:00
Vadim Zeitlin
ea283460f7 Recognize the buddy text control as part of wxSpinCtrl.
This allows the code in wxWindowMSW::HandleCtlColor() to find the correct
control when handling the messages from the buddy control and hence setting
the colours for wxSpinCtrl works after this change.

Closes #1691.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-06 14:31:25 +00:00
Vadim Zeitlin
582c3a1964 Take time into account in wxDateTime <-> SYSTEMTIME conversion.
wxDateTime::SetFromMSWSysTime() and GetAsMSWSysTime() worked with the date
part of SYSTEMTIME only, do use time part as well now.

Closes #11176.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-06 14:31:01 +00:00
Vadim Zeitlin
9bd1920403 Clarify the priority rules for static and dynamic handlers.
See #11156.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-03 00:24:14 +00:00
Vadim Zeitlin
2e51fb3041 Correct wxImage::Size() again; add unit tests for it.
wxImage::Size() didn't handle the paste position correctly.

Closes #7874.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-30 21:43:11 +00:00
Vadim Zeitlin
180f3c7461 Add support for bilinear resize algorithm to wxImage.
Add wxIMAGE_QUALITY_BILINEAR in addition to the existing wxIMAGE_QUALITY_BICUBIC,
it is supposed to be much faster yet yield almost the same results.

Closes #11034.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-30 21:11:37 +00:00
Jaakko Salli
08c1613f88 Disabled top-level parent tracking by default (crashes with AUI), must now use wxPG_EX_ENABLE_TLP_TRACKING style to enable old behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-29 08:09:45 +00:00
Vadim Zeitlin
d55906de77 Add A0 and A1 formats to wxPaperSize enumeration.
Closes #11083.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-24 21:42:11 +00:00
Vadim Zeitlin
07890fbeb5 Never overflow the output buffer in wxBase64Decode().
Don't write extra NUL bytes obtained by decoding the padding at the end of
input into the output buffer as there may be not enough place in it for them.
And in any case the buffer is not (always) NUL-terminated as no NUL bytes are
obtained in absence of padding, so it's better to never terminate it for
consistency.

Closes #11101.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-23 22:25:12 +00:00
Vadim Zeitlin
12c9c01c24 Extract event handlers chain documentation in a separate section.
The explanation of event handlers chaining was too big and distracted from the
main point of the event processing section which was to explain in which order
different handlers are looked up.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-23 21:31:14 +00:00
Vadim Zeitlin
7a34307e24 Added wxKeyEvent::IsKeyInCategory() method.
This allows to test whether a given key belongs to the category of e.g. arrow
keys or navigation keys in a more concise and more readable manner.

Closes #10268.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-23 00:32:17 +00:00
Vadim Zeitlin
4a00e77ce6 Update wxFlexGridSizer ctors to match (new) wxGridSizer ones.
Confusing wxFlexGridSizer(int cols, int vgap = 0, int hgap = 0) was removed as
well as corresponding wxGridSizer ctor overload. New ctor overloads taking gap
as wxSize were added.

See #11040.

Closes #11091.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-10 11:18:23 +00:00
Vadim Zeitlin
c5cc7fbd27 Made wxWindow::HasScrollbar() do what it says.
Added wxWindow::CanScroll() with the old HasScrollbar() meaning but changed
HasScrollbar() to check for the scrollbar existence instead of just checking
if it might exist.

Closes #10897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-10 11:18:09 +00:00
Vadim Zeitlin
7e6edd2772 Make wxGridSizer ctors more consistent.
The old and confusing wxGridSizer(int cols, int vgap = 0, int hgap = 0) is removed and replaced with wxGridSizer(int cols, int vgap, int hgap).

New ctor overloads using wxSize for the gap parameter added.

Closes #11040.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-02 00:48:58 +00:00
Vadim Zeitlin
47d9ca165a Be more clear about Thaw() to DoThaw() renaming.
Closes #11048.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 13:20:59 +00:00
Vadim Zeitlin
704006b381 Allow setting long version field in About dialog.
Long version is constructed by concatenating "Version " with the short version but can be overridden for the platforms which use it (currently MSW and OS X).

Closes 11027.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-25 22:53:23 +00:00
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Kevin Ollivier
6a1df26215 Typo in a bug fix I made.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 18:42:15 +00:00
Kevin Ollivier
1013a78945 Adding preliminary code for C bindings, thanks to Luke A. Guest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 18:39:26 +00:00
Kevin Ollivier
edaadd8cd2 Add an underscore before the generated output names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 18:37:02 +00:00
Kevin Ollivier
e2075bf002 Only load/parse options when run as the main script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 18:30:24 +00:00
Vadim Zeitlin
58dcd1ae52 added wxLB_NO_SB style and implementation for wxMSW (closes #10991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 14:36:30 +00:00
Vadim Zeitlin
53ff8df7d5 Make wxLog::EnableLogging() and wxLogNull thread-specific.
Disabling logging in a single thread (even the main one) shouldn't disable
logs from the background threads which should disable their logging themselves
as/if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-13 13:21:52 +00:00
Vadim Zeitlin
acad886cb4 Add support for thread-specific log targets.
A worker thread can now have its own log target which will be used directly
by the log functions instead of buffering log output in the main thread; the
GUI thread in the thread sample shows how it works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-13 11:09:26 +00:00
Vadim Zeitlin
232addd1cd Made wxLogXXX() functions thread-safe.
They can now be called from any thread and will buffer the messages until the
current log target is flushed from the main thread. This makes earlier code to
do the same thing specifically for wxLogWindow unnecessary and also allows to
use wxLogMessage() in the thread sample instead of using manual logging there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 17:02:30 +00:00
Vadim Zeitlin
dbe0872fc8 Added wxVector::swap().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 17:00:29 +00:00
Vadim Zeitlin
c602c59b6e Add component-level filtering to wxLog.
Each log message is now associated with its component, "wx" by default for
messages generated by wxWidgets and wxLOG_COMPONENT in general (which is empty
by default). Each component may have its own log level and they are
hierarchical allowing fine configuration of what exactly is logged.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-12 14:56:23 +00:00
Vadim Zeitlin
34a083c928 remove scope-resolution operator from wxLogError() call: this doesn't work any more as it's a macro and not a function now; mention this in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 21:41:46 +00:00
Vadim Zeitlin
af58844636 Add information about the log message generation location to wxLog.
This means that wxLog::DoLogRecord() can now retrieve the file name, line
number and the function where the message was logged.

An unfortunate consequence of this change is that now

	if ( condition )
		wxLogError("Whatever");

results in a warning from g++ 4.x with -Wparentehses, so extra parentheses had
to be added in many places.

Finally, also allow storing arbitrary attributes in wxLogRecordInfo. This had
to be added to implement our own overloaded wxLogStatus() and wxLogSysError()
and will probably be useful for the others as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 20:26:34 +00:00
Vadim Zeitlin
469c80265e remove out of date bugs; mention VC8 and wxUSE_NO_MANIFEST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-09 12:50:14 +00:00
Vadim Zeitlin
bc73d5aec8 Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo.
The main logging callback is now DoLogRecord() with DoLogTextAtLevel() and
DoLogText() provided for convenience. The old DoLog() and DoLogString() are
still called but deprecated and their overloads taking wxString which were
only added in 2.9.0 are removed.

wxLogRecordInfo allows associating more information than just the time stamp
with the log record; for now only the logging thread id was added but more
fields will make their appearance soon.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-08 13:47:33 +00:00
Vadim Zeitlin
47a8b1e1ff added EVT_DATAVIEW_CACHE_HINT event (closes #9891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 15:21:52 +00:00
Vadim Zeitlin
f3239c2118 updated the version to 2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:53 +00:00
Vadim Zeitlin
e9c72ade97 updated list of files to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:06 +00:00
Vadim Zeitlin
42c097b83e translate wxMessageDialog labels to the language of the current locale (closes #10962)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:48:01 +00:00
Vadim Zeitlin
e5d05b907c added support for bitmaps in wxButton to wxOSX/Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-21 03:01:53 +00:00
Vadim Zeitlin
febebac1a0 added wxTreeCtrl::GetFocusedItem() (closes #10859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:34:51 +00:00
Vadim Zeitlin
6e7d2550ce wxFont::MakeXXX() and Scale() methods now modify the font in place; XXX() and Scaled() create new font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:27:37 +00:00
Vadim Zeitlin
9c61c5b04b introduce wxBG_STYLE_{ERASE,PAINT} and implement their documented semantics in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 23:04:42 +00:00
Jaakko Salli
4e00b90802 Added support for wxLongLong and wxULongLong in wxVariant (closes #10166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 22:43:27 +00:00
Vadim Zeitlin
18b9d1a13c add support for bitmap and bitmapposition tags to the wxButton XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 19:35:19 +00:00
Vadim Zeitlin
0654158b18 fix Doxygen syntax error which prevented output for this page from being generated at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 17:28:58 +00:00
Vadim Zeitlin
2352862a7e preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 22:55:24 +00:00
Vadim Zeitlin
a7435c3ec4 added own{fg,bg,font} allowing to set non-inheritable fore/background colours and font from XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-13 02:48:38 +00:00
Robert Roebling
0e497a9db6 Update docs to mention wxRefCounter class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:29:59 +00:00
Vadim Zeitlin
f76c075805 added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:11:21 +00:00
Vadim Zeitlin
f2a18fbec6 only allow selecting existing files in wxLoadFileSelector; use this function instead of wxFileSelector in the samples (closes #10693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 18:02:57 +00:00
Vadim Zeitlin
0d14e4f21d added XRC handler for wxFileCtrl (closes #10785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:40:11 +00:00
Vadim Zeitlin
4cd15b49b4 allow customizing wxStandardPaths logic for the program directory determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:46:19 +00:00
Jaakko Salli
0cd4552a99 Added note about 'Py' prefix no longer being necessary when reimplementing property member functions in wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 20:51:25 +00:00
Vadim Zeitlin
ae042ac1e2 mention support for multiselection in wxDirCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:55:42 +00:00
Jaakko Salli
8622887ce2 Added section 'Changes from wxPropertyGrid 1.4'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 09:02:35 +00:00
Vadim Zeitlin
04aa748dc4 mention wxTreeCtrl::SelectItem() fix of r60921
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:25:56 +00:00
Vadim Zeitlin
adcda299c0 added wxEditbaleListBox XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 23:41:51 +00:00
Vadim Zeitlin
d58772283e value of wrap parameter of wxStaticText must be specified in pixels, not characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 12:17:34 +00:00
Vadim Zeitlin
e77669fcee don't fix the columns number to 1 by default in ctors (closes #10863)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:28:26 +00:00
Vadim Zeitlin
255c07b4df extracted wxTextWrapper in its own header and made it public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 20:12:07 +00:00
Vadim Zeitlin
4feecbb929 added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:40:04 +00:00
Francesco Montorsi
3b36f093d9 group wxPlatformInfo functions for easier browsing; add more descriptions; link the related function group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 16:34:13 +00:00
Vadim Zeitlin
0598625cb2 don't add client area origin when positioning the child MDI frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:22:45 +00:00
Vadim Zeitlin
51a5c8df7c improve wxTreeCtrl::ScrollTo() behaviour in the generic version and add a test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:08:16 +00:00
Vadim Zeitlin
671683c445 enable OpenGL library build by default under Windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 12:55:11 +00:00
Vadim Zeitlin
f1a73c6a81 added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:49:31 +00:00
Vadim Zeitlin
68fe70ea1f define HAVE_LARGEFILE_SUPPORT in setup.h when large files support is available and test for it in wx/filefn.h (closes #10844); document that wx/filefn.h must be included before testing for wxHAS_LARGE_(F)FILES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 17:15:36 +00:00
Vadim Zeitlin
881f5a1c71 correct a typo in wxSplitterWindow gravity parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 13:08:00 +00:00
Vadim Zeitlin
ef18e79223 add support for defining list control columns in XRC too (and correct a few things in previously added list items support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 13:00:28 +00:00
Vadim Zeitlin
787de19a13 update CRT environment block in wxSetEnv() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 15:33:33 +00:00
Vadim Zeitlin
6528a7f145 make wxWindow::SetAutoLayout() now works for all windows, not just panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-23 11:26:58 +00:00
Bryan Petty
07e6fc431d Small build and run fixes made to screenshotgen util after wxMSW changes.
Updated wxOSX (Carbon) screenshots in the manual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 19:19:01 +00:00
Bryan Petty
35b04374da Replaced dir control screenshot in the manual with one that doesn't have personal info in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 18:40:11 +00:00
Bryan Petty
0b4ddd818a Updated wxMSW screenshots in the manual generated with a default Windows font sizes, theme, and locale.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 18:34:10 +00:00
Vadim Zeitlin
326462ae94 add support for loading wxListCtrl items and wxImageLists from XRC (closes #10647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 17:29:57 +00:00
Kevin Ollivier
0cbc1d0251 Separate the parts of make_bindings.py out into common parts, and SWIG and SIP specific parts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 23:07:51 +00:00
Kevin Ollivier
4e735ed6a6 Move the scripts into a separate directory and commit initial start on automatic bindings generator.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 22:26:40 +00:00
Kevin Ollivier
3fee01e962 Add the ability to query if a class is derived from another class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 22:20:40 +00:00
Vadim Zeitlin
72a7c55982 added wxStd{In,Out}putStream classes (closes #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 18:29:33 +00:00
Vadim Zeitlin
c1ea6afb87 keep {Left,Middle,Right}Down() methods of wxMouseState which were present in 2.9; just deprecate them in favour of the new XXXIsDown() ones (see #10756)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 13:10:38 +00:00
Vadim Zeitlin
bca8c756a3 added wxMouseEventsManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:52:33 +00:00
Vadim Zeitlin
9e0ed08360 put wx{Keyboard,Mouse}State in events category instead of misc one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:37:14 +00:00
Vadim Zeitlin
75004dfbe5 implement changing wxChoice and wxComboBox height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 21:49:43 +00:00
Vadim Zeitlin
82edfbe7d9 add a possibility to disable individual grid rows/columns resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 17:02:53 +00:00
Vadim Zeitlin
e812c32f56 added short col/row resizing overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 15:50:19 +00:00
Vadim Zeitlin
64f227605d set eol style correctly (see #10745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 19:41:08 +00:00
Kevin Ollivier
7f42e09be2 Separate out constructors / destructors, add support for enums and include files, and add a verbose option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 23:49:35 +00:00
Vadim Zeitlin
1c7a6772c1 include port number in HTTP Host header (closes #10632)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 23:38:03 +00:00
Vadim Zeitlin
3aaaf1aaa0 add support for table border width attribute (closes #10610)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 23:19:04 +00:00
Vadim Zeitlin
4461c51850 attempt to hyperlink wxCHECK_VISUALC_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:19:44 +00:00
Vadim Zeitlin
3795f11ff2 define __EVC4__ for eVC 4 compiler to make testing for it easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:16:59 +00:00
Francesco Montorsi
39cdc95fb3 allow windows which are placed inside wxStaticBoxes to be built as children of the wxStaticBox itself rather than forcing users to build them as siblings of the static box (closes #9859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 10:49:36 +00:00
Vadim Zeitlin
ae901b234c correction to last commit: Korean and Romanian translations will only be in 2.9.1, not 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 21:17:05 +00:00
Vadim Zeitlin
48e8f217bc added Korean and Romanian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 21:14:02 +00:00
Vadim Zeitlin
9ca2956011 another typo correction; provide GNU gettext link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-23 15:52:07 +00:00
Vadim Zeitlin
ad5cc52914 fix links and references to cvs (closes #10729)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-23 15:50:40 +00:00
Stefan Csomor
a19d71a81b adding me to author, updating date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 14:32:07 +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
Vadim Zeitlin
975fe60bba removed the note about wxEvent::Clone() startup test as it was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:14:25 +00:00
Kevin Ollivier
fc76d7df9b Add a space to ensure we have a space between qualifiers and parameter names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 17:47:23 +00:00
Kevin Ollivier
0ed9af4ed9 Catch the return type when it's inside a <ref> tag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-10 22:40:24 +00:00
Kevin Ollivier
f613f81ac9 Commit script which parses the Doxygen XML output into a list of class and method objects, which later can be passed for post-processing to autogenerate bindings, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-09 17:31:39 +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
Vadim Zeitlin
3b8ec767b9 allow reading GIFs with incorrectly specified animation size (closes #9465)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:31:54 +00:00
Vadim Zeitlin
f3d261e7ac minor improvements to Bind() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:55:03 +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
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
Vadim Zeitlin
13d09fc3d4 mention wxFilename::StripExtension()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 16:02:47 +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
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
b7aadf25fa compilation fixes for wxAnyStrPtr for VC7; mention it in the change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 09:23:30 +00:00
Francesco Montorsi
530cda2fdc remember to users that env vars are hardly usable for IPC :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 15:04:29 +00:00
Vadim Zeitlin
a5e1215946 mention wxGridBagSizer (closes #10488)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:59:34 +00:00
Vadim Zeitlin
433400df4d fix typo; wrap lines; add some clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 13:12:45 +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
Kevin Ollivier
c7428e0813 New release script docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 00:44:12 +00:00
Francesco Montorsi
530793f0be minimal list of wx CRT wrappers (so doxygen highlights occurrences of wxFunc() if Func() is a std CRT function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:40:12 +00:00
Francesco Montorsi
0cc860a2ab add group file for locale functions (was part of r59627)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 12:17:45 +00:00
Vadim Zeitlin
36b77970eb copied 2.8.10 changelog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 09:31:33 +00:00
Francesco Montorsi
f378428555 update date for 2.9.0 release; set the title to "Reference manual"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 00:52:42 +00:00
Francesco Montorsi
ee49f54091 revised wxString docs: don't use old style grouping of functions at the beginning of the file; rather use doxygen-style member groups; to be able to reference member groups, introduce the new @member_group_name and @ref_member_group ALIASES; fix some typos in the process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 14:51:46 +00:00
Francesco Montorsi
8f1337ed68 use doxygen autolinking feature; use @ref command for the overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 15:30:06 +00:00
Vadim Zeitlin
8933fbc62e add combobox drop down/close up events (closes #10587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:42:58 +00:00
Vadim Zeitlin
25b5adb446 set native eol-style for the overview files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 09:29:05 +00:00
Francesco Montorsi
2d28319419 some note about DOT_PATH, specially for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 00:30:39 +00:00
Václav Slavík
0e32e86acd fixed docs of rows/cols XRC property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 11:05:14 +00:00
Kevin Ollivier
0f6c9085a5 Consider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations, so that linkages from function docs are left intact. Also, do a little cleanup and elaborate more in the docs for OS X Cocoa and OS X Carbon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 01:19:09 +00:00
Francesco Montorsi
bce3699ff6 more links to native docs for wxGTK; some typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 14:26:00 +00:00
Kevin Ollivier
6492413bbb Remove docs for the removed CodeWarrior projects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:30:50 +00:00
Kevin Ollivier
fe56965b7f Remove instructions for Mac OS Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:29:27 +00:00
Kevin Ollivier
e9b686c595 Fix reference ids and update Mac requirements in the introduction page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 17:06:00 +00:00
Kevin Ollivier
9fad307de6 Remove CodeWarrior portion of the Mac installation instructions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 16:24:41 +00:00
Kevin Ollivier
fc5e8e07f7 CodeWarrior has been discontinued on Mac for years, and none of the (manually maintained) project files have been updated in at least 3 years, so remove CodeWarrior support from the tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 16:23:22 +00:00
Kevin Ollivier
2b8471fbb9 Update wxMac docs to reflect new wxOSX/Carbon and wxOSX/Cocoa split, keep a note about the original Cocoa port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 01:31:20 +00:00
Kevin Ollivier
38f9fde8ca Add a note about the flag for compiling OSX/Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 01:21:31 +00:00
Vadim Zeitlin
70c147281a also fix handling of wxSP_ARROW_KEYS|wxSP_WRAP (see #10565)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 15:45:13 +00:00
Vadim Zeitlin
ba4800d3ae add support for multiple extensions to wxImage handlers (closes #10570)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 23:13:34 +00:00
Vadim Zeitlin
645706a24e support %l in wxDateTime::ParseFormat()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 19:36:59 +00:00
Vadim Zeitlin
072682ce44 optimize Replace() to use a linear algorithm (closes #9135)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 16:07:58 +00:00
Vadim Zeitlin
e5cfb314ae replace wxGetMultipleChoices() with wxGetSelectedChoices() which allows to distinguish between cancelling the dialog and not selecting any items in it (closes #10057)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 15:39:09 +00:00
Vadim Zeitlin
42af6685ae support wxSP_WRAP in generic implementation (closes #10557)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:27:06 +00:00
Vadim Zeitlin
0576cd9ebe added wxProtocolLog class for logging network requests/responses (closes #7464)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 13:58:39 +00:00
Kevin Ollivier
f5fd8c2434 docs/mac is now docs/osx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 16:26:42 +00:00
Vadim Zeitlin
51acf83bd6 added wxZlibStream::SetDictionary() (closes #10551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 16:26:15 +00:00
Vadim Zeitlin
c7d9c476ea fix multiple problems with selection in controls with wxTR_MULTIPLE style (closes #626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 14:13:19 +00:00
Bryan Petty
8a606bb006 More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:04:46 +00:00
Francesco Montorsi
f1f688c84d update the list of samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 20:57:58 +00:00
Vadim Zeitlin
63f7d5022e added wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:25:01 +00:00
Francesco Montorsi
0e40db5585 remove old and outdated tech notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 15:02:11 +00:00
Vadim Zeitlin
4e916e61ea reset the tooltip text before changing it, this apparently prevents a spurious redraw of the control below it (see #10520)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-28 15:49:10 +00:00
Francesco Montorsi
0e1e143d54 mention that some event logic now requires a running event loop (see ticket #10320)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 14:41:48 +00:00
Vadim Zeitlin
8cc208e39f deprecate the old TryValidator/Parent() and replace them with the new and documented TryBefore/After()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 16:16:31 +00:00
Vadim Zeitlin
574e1c5a03 added wxGrid::{Set,Get}{Row,Col}Sizes() methods allowing to save/restore all grid rows/columns sizes at once
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 23:41:29 +00:00
Vadim Zeitlin
f14217abb4 render <TH> contents in bold, as all the browsers do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-24 18:10:43 +00:00
Vadim Zeitlin
23239d944a add public wxXmlResource::GetResourceNode() which can be used directly instead of deriving from wxXmlResource and using FindResource()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 21:52:00 +00:00
Vadim Zeitlin
518fafd54b put something in the content field type in the tables to avoid ugly appearance of empty table cells in Doxygen-generated HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 17:38:48 +00:00
Vadim Zeitlin
efce878a2a add public wxLog::Log() to avoid ugly casts needed in order to call DoLog() from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 00:46:25 +00:00
Francesco Montorsi
3c99e2fd1b recategorize many misplaced classes; move lots of classes from miscellaneous [window] category to more specific categories; add the 'Book controls' and the 'Application and system configuration' class groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 11:34:52 +00:00
Francesco Montorsi
3a5677401f name wxThreadEvent and YieldFor in wxProgressDialog and in thread overview; update the sample code to use new event macros; minor other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 19:32:00 +00:00
Francesco Montorsi
3051a44a73 make distinction between classes which send events (use @beginEventEmissionTable for them) from event classes (use @beginEventTable for them); add event tables for wxWindow, wxFrame, wxTopLevelWindow, wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:58:51 +00:00
Bryan Petty
830b7aa7b2 Fix manual references to the events overview after it's page ID was changed in r58712 (VZ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 00:19:22 +00:00
Bryan Petty
cb2996e2ce Fixed the logo image output in the manual after (obviously untested) image filename changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 22:06:45 +00:00
Bryan Petty
2250d25c06 Updated version numbers tech note with new doxygen manual locations to update, and updated the main page of the manual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 17:47:44 +00:00
Francesco Montorsi
13a6b8e650 give credit to the author of the patch for adding wxImage options for PNG saving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 10:26:07 +00:00
Stefan Csomor
3f63d14108 adding new defines for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:55:48 +00:00
Francesco Montorsi
dde19c2180 second part of #10320: move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 14:25:08 +00:00
Francesco Montorsi
bca627de27 add changelogs for my (relatively) recent commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 12:15:47 +00:00
Vadim Zeitlin
e7492fa205 added a period at the end of a sentence (test commit, really)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 23:29:20 +00:00
Bryan Petty
6a37636b11 Fixed section identifiers (the added section needed a unique id) in topic overviews page in the manual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-10 00:38:20 +00:00
Robert Roebling
ca54ea374b Mention wxTaskBarIcon reimplementation, other details
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 10:19:22 +00:00
Vadim Zeitlin
c0c133e13b add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Vadim Zeitlin
4475b41041 update custom event definition documentation; document wxDEFINE/DECLARE_EVENT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 16:07:59 +00:00
Vadim Zeitlin
3e083d652d update/reorganize events overview and changed links to it to reflect the fact that it speaks about events in general and not just about handling them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:22:14 +00:00
Vadim Zeitlin
71df21e7d3 extract the important overviews in their own section and order them by importance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 14:51:16 +00:00
Francesco Montorsi
4fd70f0a8b remove typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 18:43:46 +00:00
Francesco Montorsi
1d4f9810be fix title of the previously-modified section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 18:42:08 +00:00
Francesco Montorsi
141794f13f mention wxwindow::SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY ) in the validator overview; cosmetic changes in the rest of the validator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 17:00:47 +00:00
Francesco Montorsi
ae93dddfaf remove mention of wxMutexGuiEnter/leave from the multithreading topic overview; document that wxMutexGuiEnter only works for wxMSW as the code seems to confirm this (see #10366)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:24:27 +00:00
Francesco Montorsi
d9ced90bcf add many references to the overview_windowsizing topic in wxWindow's size functions; add maximum size and virtual size to the topic overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:40:10 +00:00
Vadim Zeitlin
664e13143e renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Francesco Montorsi
d075fb7af6 add the abicheck.sh script for checking possible ABI violations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 17:17:58 +00:00
Vadim Zeitlin
a371a0104f remove extra line breaks which prevents Doxygen from numbering list items correctly (closes #10459)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 18:28:04 +00:00
Francesco Montorsi
8f182e0a3c document only char* variant of all string utility functions (don't use wxChar nor templates; they're only confusing; add a note for the funcmacro_string group that all functions documented also have wchar_t variants; document wxStrnlen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:58:45 +00:00
Francesco Montorsi
00666804a7 remove anchor colouring not only for H2 but also for H3 and H4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 12:52:51 +00:00
Vadim Zeitlin
0fa541e870 add support for persistent controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Vadim Zeitlin
26078494a0 add wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for the platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 12:50:06 +00:00
Vadim Zeitlin
3b7fa2069b fix remaining cases of wxWindow::ProcessEvent() calls; add convenient ProcessWindowEvent() wrapper and document it; also document this (incompatible) change itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 13:41:43 +00:00
Francesco Montorsi
99d8272073 document various enumerations defined in defs.h; give a name to the anonymous enum for the standard IDs; move wxKeyCode and wxKeyModifier enums in defs.h removing their dedicated pages of the manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 00:44:06 +00:00
Bryan Petty
7ecc54dfac Applied documentation typo/grammer corrections from charles (#10439).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 19:46:05 +00:00