Commit Graph

2125 Commits

Author SHA1 Message Date
Vadim Zeitlin
05fbf0e75e Don't use _T() in the documentation.
This is mainly necessary in order to be able to commit the subsequent changes
to this file as otherwise the commit is refused by the svn post-commit hook
that checks for _T() presence.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-25 15:03:17 +00:00
Julian Smart
12f5219fac Added functionality for disabling the vertical scrollbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-23 17:01:30 +00:00
Vadim Zeitlin
bf973818a3 Remove duplicate wxFileKind definition from documentation.
Also move wxSeekMode from interface/wx/ffile.h to filefn.h to be consistent
with the header in which this enum is really defined. And document it better.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-23 16:33:13 +00:00
Vadim Zeitlin
f090e4ef67 No real changes, just fix spelling errors in the documentation.
Closes #14038.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-23 13:56:10 +00:00
Vadim Zeitlin
96b57f0d2a Mention event type corresponding to EVT_CLOSE in wxFrame documentation.
Closes #14030.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-22 13:41:15 +00:00
Vadim Zeitlin
8cddee2d0e Fix spelling in the documentation.
Closes #14034.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-22 13:41:07 +00:00
Vadim Zeitlin
83189c3b0e Correct wxWinCE port name in @onlyfor in the documentation.
The name used here should be the same as the label used for the corresponding
port in docs/doxygen/mainpages/platdetails.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-21 22:02:21 +00:00
Vadim Zeitlin
cb8ae61385 Minor fixes to wxDateTime documentation.
Use @onlyfor{wxmsw} for MSW-specific methods; fix the return type of
operator+=().

Closes #14024.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:57:13 +00:00
Vadim Zeitlin
a0bf1b587f Remove documentation of inexistent wxEvtHandler::TryThis().
This method existed only briefly and was replaced by Try{Before,After}().

Closes #14012.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:59 +00:00
Vadim Zeitlin
1e26459c5e Document wxNotificationMessage::Timeout_XXX values.
Closes #14009.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:52 +00:00
Vadim Zeitlin
c9069ea343 Fix typos in wxRibbonButtonBar documentation.
Closes #14008.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:46 +00:00
Vadim Zeitlin
5c54f4e9c8 Minor documentation fixes to wxHelpController.
Fix the methods signatures to match the real ones.

Closes #14007.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:42 +00:00
Vadim Zeitlin
1f165e7432 Add skeleton documentation for wxMessageDialog::ButtonLabel.
This class shouldn't be really used directly but document it just to make the
interface header valid C++ as this class was used as parameter type but never
defined.

Closes #14006.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:38 +00:00
Vadim Zeitlin
0eb1fbf01b Fix wxRichTextBuffer::InsertParagraphsWithUndo() documentation.
Use the same parameters order as in the real header file.

Closes #14005.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:34 +00:00
Vadim Zeitlin
184abb52a8 Add @onlyfor tag to wxToolBar::SetBitmapResource() documentation.
Closes #14004.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:30 +00:00
Vadim Zeitlin
52cd518033 Add @onlyfor tags for Unix-specific wxStandardPaths methods.
Closes #14003.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:25 +00:00
Vadim Zeitlin
f85d2074fb Add @onlyfor tag for wxSound::IsPlaying() documentation.
This is not totally precise as the method is available in all Unix-based ports
but currently there doesn't seem to be any way to specify this so just mention
its availability in wxGTK which is what counts.

Closes #14002.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:22 +00:00
Vadim Zeitlin
267c55c377 Fix wrong spelling of wxRegKey::HasSubkeys() in the documentation.
This method is currently called HasSubkeys() and not HasSubKeys() even though
the latter would have been more consistent with HasSubKey() so we might
consider renaming it in the future. But for now just fix the documentation.

Closes #13998.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:14 +00:00
Vadim Zeitlin
fa60451416 Remove inexistent wxPropertySheetDialog::SetInnerSizer() from documentation.
Closes #13997.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:10 +00:00
Vadim Zeitlin
67414f005d Synchronize wxPropertyGridManager documentation with the real API.
Fix GetSelection() return type; remove SetStringSelection() which doesn't seem
to exist any more; other minor fixes.

Closes #13996.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:06 +00:00
Vadim Zeitlin
5aabd64cf2 Synchronize wxPropertyGrid documentation with the real API.
Document DoRegisterEditorClass() (even though it's not really clear whether it
should be documented); remove the inexistent SetButtonShortcut() documentation
and other minor fixes.

Closes #13995.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:03 +00:00
Vadim Zeitlin
96dc06fdce Remove wxDialog::OnSysColourChanged() documentation.
This event handler is a private implementation detail and shouldn't be
documented.

Closes #13964.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:55:49 +00:00
Julian Smart
c9f18835ab Added wxEVT_WIZARD_BEFORE_PAGE_CHANGED event to allow the application to influence
the return value of GetNext after Next is clicked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 11:38:52 +00:00
Stefan Neis
c44db939d6 Fixed spelling errors, fixes #14021.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 19:59:59 +00:00
Julian Smart
81702b39d3 Removed OnSelect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 14:24:38 +00:00
Julian Smart
51795e3399 Fixed name of GetCombinedStyleForLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 14:22:56 +00:00
Julian Smart
d2ae3af890 Applied #14000 (wxRichTextXMLHandler interface fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 14:20:01 +00:00
Vadim Zeitlin
c66a675a5e Remove wrong "const" from wxPosition::operator{+,-}=() documentation.
Closes #13991.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:18 +00:00
Vadim Zeitlin
ee094b632d Fix the name of wxPersistentTreeBookCtrl in the documentation.
It was misspelt as wxPersistentTreeBook.

Closes #13990.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:14 +00:00
Vadim Zeitlin
9e610e1caf Remove non-existent wxPGChoices methods from the documentation.
wxPGProperty::Add(wxArrayString, ValArrItem), GetItemAtY() and HasValue() were
documented but don't actually exist, remove them.

Also correct wxPGProperty::Empty() scope: it's protected and not public.

Closes #13988.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:10 +00:00
Vadim Zeitlin
6dea83846b Fix typo in wxOwnerDrawnComboBox ctor documentation.
"[]" was in the wrong place.

Closes #13987.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:07 +00:00
Vadim Zeitlin
c68b896746 Fix typo in wxMultiChoiceDialog::GetSelections() name in the documentation.
Closes #13986.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:04 +00:00
Vadim Zeitlin
9b026e3159 Mark Mac-specific wxMenuBar methods with @onlyfor{wxosx}.
Closes #13985.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:00 +00:00
Vadim Zeitlin
0364ac987d Document the default size of new wxMemoryBuffer correctly.
Documenting it as DefBufSize wasn't really helpful, so just use its value
instead (an alternative would be to document DefBufSize -- with its value --
but it doesn't seem very useful to make it part of the public API).

Closes #13984.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:39:56 +00:00
Vadim Zeitlin
16205a28d2 Fix wxMediaCtrl::GetPlaybackRate() method name in the documentation.
Closes #13983.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:39:53 +00:00
Vadim Zeitlin
0c2bed825d Document wxConvFileName variable, not wxMBConvFile class.
The class doesn't exist (and the documentation even says that much) but the
global variable does exist, so document it instead.

Closes #13982.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:39:49 +00:00
Vadim Zeitlin
996d3fe3f8 Added wxFileName::Exists().
This function checks for existence of anything with the given name, not
necessarily just a file or a directory.

Extend the unit test to verify that it returns true for /dev/null on Unix
systems.

Closes #953.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:39:46 +00:00
Vadim Zeitlin
06bfd04527 Explicitly document that hidden windows get wxEVT_IDLE events.
This wasn't always the case and could be unexpected so document this behaviour
clearly, also explain the rationale for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:39:37 +00:00
Vadim Zeitlin
21371c1df0 Document wxLogGui::DoShow{Single,Multiple}LogMessage() as private.
These methods should be documented because they can be overridden but they're
private so document them as such.

Closes #13981.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:36:02 +00:00
Vadim Zeitlin
b5176f6d75 Don't document wxListCtrl::SetColumnsOrder() as being const.
Because it isn't.

Closes #13980.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:58 +00:00
Vadim Zeitlin
659334e17f Clean up wxListBox documentation.
Remove the methods inherited from the base class, there is no need to
re-document them here, especially as this was done incorrectly for Set().

Do document EnsureVisible() and IsSorted().

Closes #13979.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:55 +00:00
Vadim Zeitlin
cda337fbb0 Make documentation of wxIcon::ConvertToDisabled() more explicit.
Use @onlyfor{wxmsw} and explain how can the same task be done under the other
platforms.

Closes #13977.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:52 +00:00
Vadim Zeitlin
0e1cd9bedb Document wxFTP::TransferMode enum in the correct scope.
It's declared inside wxFTP class and not in global scope.

Closes #13976.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:47 +00:00
Vadim Zeitlin
fc910c50d9 Document wxGB{Position,Size}::operator!=(), remove operator!().
The latter doesn't exist (any more?), the former does.

Closes #13975.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:43 +00:00
Vadim Zeitlin
8d2f4cb986 Remove documentation of non-existent wxFontMapper::SetConfig().
Closes #13974.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:39 +00:00
Vadim Zeitlin
ccca2121ef Document Mac-only wxFileName methods as being Mac-only.
Use @onlyfor for them for consistency and to help the automated code
generators.

Closes #13971.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:36 +00:00
Vadim Zeitlin
0b64c2ad63 Document wxFileType::MessageParameters class.
Documentation is not really very helpful but better than nothing.

Closes #13972.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:32 +00:00
Vadim Zeitlin
b3a3a879c3 Fix wrong type of wild card parameter in wxFileCtrl documentation.
It is a string, not a point.

Closes #13970.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:29 +00:00
Vadim Zeitlin
82b30473f9 Make wxDragImage ctors taking hot spot point really deprecated in wxMSW.
They were documented as deprecated and deprecated in the generic version (and
actually not even available there any more without WXWIN_COMPATIBILITY_2_6)
but not in wxMSW, where we just had the weird wxLogDebug() statements that
were inconsistent with our handling of deprecation everywhere else.

Do deprecate them now, remove wxLogDebug() and also remove the deprecated
ctors and Create() overloads from the documentation.

Finally, remove the documentation of deprecated and available in the generic
version only ctor taking only wxCursor (closes #13967).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:25 +00:00
Vadim Zeitlin
c3a0b0d876 Document wxDocManager::CreatePreviewFrame() as being protected, not public.
Simply move the function documentation to the correct class section.

Closes #13966.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:21 +00:00
Vadim Zeitlin
02f5e7631d Don't document private event handlers in doc/view frame classes.
wxDoc[MDI]ParentFrame::OnCloseWindow(), wxDoc[MDI]ChildFrame::OnActivate() and
OnCloseWindow() are all private, don't document them as public. Just mention
that the wxEVT_CLOSE_WINDOW and wxEVT_ACTIVATE should be left for the
processing in the frame classes to let the default handling take place.

Closes #13965.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 00:35:18 +00:00
Vadim Zeitlin
ec8823e77a Remove the mention of non-existing wxPrintf_l() from the documentation.
This function doesn't exist (yet), so don't advise people to use it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-14 23:09:33 +00:00
Vadim Zeitlin
9c1fed55d7 Don't document deprecated wxComboCtrl::SetValueWithEvent().
This method shouldn't be used at all, either SetValue() or ChangeValue()
should be used instead, so don't document it.

Closes #13961.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-12 22:19:07 +00:00
Robin Dunn
aef060ab6c remove some wxPython-only methods that were accidentally added to the interface file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-11 20:32:32 +00:00
Vadim Zeitlin
400930d344 Document wxDateTime::GregorianAdoption enum and TimeZone class.
These types are referenced by the other documented functions so should be
documented themselves.

Closes #13959.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-11 18:36:44 +00:00
Vadim Zeitlin
6f65f436e5 Fix "wxEmptyStr" typo in wxChoicebook and wxToolbook documentation.
It should be "wxEmptyString".

Closes #13955.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-11 18:36:41 +00:00
Vadim Zeitlin
1442168125 Implement wxBG_STYLE_TRANSPARENT support for wxGTK.
Use composited windows if supported by GTK+ for wxWindows with this background
style.

Also add wxWindow::IsTransparentBackgroundSupported() and show how to use it
in the sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-11 16:26:52 +00:00
Vadim Zeitlin
8d9eee8320 Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
Fully qualify the hasher and comparator classes used with
WX_DECLARE_HASH_{SET,MAP} macros as they're used as base classes by the
standard library implementation in g++ 4.7 and using them without the scope
operator results in compilation errors because they're interpreted as being
(inaccessible) base classes and not the global ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-10 10:22:45 +00:00
Vadim Zeitlin
37fff49cf1 Document MSW-only wxEVT_MOVING event.
As we documented EVT_MOVE_{START,END}, we should do it for this one as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-09 16:22:04 +00:00
Vadim Zeitlin
ab6a33b4ad Fix wrong signature of wxBitmap(bits) ctor in the documentation.
This ctor takes just a "char* bits" (spelt as "char bits[]" for some reason),
not "char* bits[]".

Closes #13947.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-08 23:45:32 +00:00
Vadim Zeitlin
419b20032b Restrict button size restrictions documentation to OSX/Carbon only.
OSX/Cocoa doesn't have these restrictions.

Closes #13122.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-08 12:59:20 +00:00
Vadim Zeitlin
f9afe2fece Document that wxStandardPaths::GetUserConfigDir() doesn't use app info.
Explicitly mention this instead of just relying on the examples to convey it.

Closes #11275.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-08 02:09:58 +00:00
Vadim Zeitlin
f549e3dad9 Use wxSTC_INVALID_POSITION in wxStyledTextCtrl documentation.
Comments -- copied from the generated header file -- used INVALID_POSITION
which is not actually defined, replace it with wxSTC_INVALID_POSITION that is
defined.

Closes #11454.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-08 02:09:55 +00:00
Vadim Zeitlin
73b1a25db7 Document wxAUI_NB_MIDDLE_CLICK_CLOSE.
Also mention that it's part of wxAUI_NB_DEFAULT_STYLE.

Closes #13382.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-08 02:09:51 +00:00
Robin Dunn
6fc5325167 Interface fixes changing fiction into truth.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-08 00:22:21 +00:00
Robin Dunn
6f67e6d2e4 Add length parameter to AddTextRaw and AppendTextRaw. Closes #1358
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 23:55:07 +00:00
Vadim Zeitlin
9d38429920 Fix wxAboutDialogInfo::GetName() return type in the documentation.
wxString is returned by value, not const reference.

Closes #13941.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 13:48:44 +00:00
Vadim Zeitlin
846f4568e5 Fix infinite loop in wxHtmlEasyPrinting page break code.
The code didn't handle cells higher than the page height correctly and entered
an infinite loop when trying to adjust page breaks in their presence, e.g.
when trying to print a very tall image.

Closes #13935.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 13:02:32 +00:00
Vadim Zeitlin
d7235613f4 No real changes, just pass const wxArrayInt to wxHtmlCell::AdjustPagebreak().
AdjustPagebreak() never modifies the array passed to it, so pass it as const
reference.

See #13935.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 13:02:27 +00:00
Vadim Zeitlin
38d7fa2525 Fix typo in an event type constant in wxTreeListCtrl documentation.
s/CHeCKED/CHECKED/g

Closes #13931.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-06 13:28:39 +00:00
Vadim Zeitlin
fc12b1f12a Take void** client data in wxSingleChoiceDialog ctor and not char**.
The client data is supposed to be untyped, there is really no reason (other
than compatibility with C conventions of 40 years ago) to use char** here.
So don't do it and provide the versions taking "void**" keeping "char**" ones
for backwards compatibility only.

Also deprecate GetSelectionClientData() that returned char* and add a new
GetSelectionData() returning void* instead.

Closes #13876.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-05 14:18:33 +00:00
Vadim Zeitlin
06a5213db0 Document wxNO_3D as being obsolete.
This style doesn't do anything any more, so replace it documentation with a
deprecation notice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-04 11:45:53 +00:00
Vadim Zeitlin
c1d6046e39 Fix typo in EVT_TREE_END_LABEL_EDIT documentation.
Wrong event type was used, correct it.

Closes #13922.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-03 17:57:59 +00:00
Vadim Zeitlin
e2e19a29ac Fix the type of global font constants in the documentation.
wxNORMAL_FONT, wxSMALL_FONT &c were documented as wxFont objects but they are
really wxFont pointers.

Closes #13917.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-03 00:24:09 +00:00
Vadim Zeitlin
7f15deea6d Fix wxDataViewCtrl::GetItemRect() signature in wxOSX and document it better.
The second parameter of this method should be optional, so make it so in wxOSX.

Also document what this method does exactly and the platforms under which it's
implemented.

Closes #13914.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-02 14:19:30 +00:00
Vadim Zeitlin
6ea6639cdf Document wxFFile::GetName().
Somehow this method was not documented.

See #13903.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-31 19:38:41 +00:00
Vadim Zeitlin
5606890945 Don't document wxVector<>::reverse_iterator.
Documenting just this class but not iterator (and const_iterator) is
inconsistent but documenting all of them is too much mostly useless work as
all iterators (of the same category) have the same interface anyhow. So just
remove the documentation of reverse_iterator for now.

See #2585.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-31 13:09:07 +00:00
Julian Smart
cc2aecdef5 Added further API for intercepting deletion and content insertion
Added simple implementation of locked objects to sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-25 15:10:09 +00:00
Vadim Zeitlin
d928f01967 Fix setting frame icon when using non-standard icon sizes in wxMSW.
Set the closest (and larger, if possible) icon if the icon of exactly the
system icon size is not available. This fixes setting the icons when using
custom DPI settings under MSW as the standard icon size may be different from
the standard 32*32 in this case.

This also improves wxIconBundle::GetIcon() to make its behaviour when the icon
with exactly the given size is not found more flexible as a side effect.

Closes #13891.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-24 22:17:47 +00:00
Vadim Zeitlin
2d5409f936 Add a property to configure file property dialog kind.
Add wxPG_FILE_DIALOG_STYLE allowing to pass wxFileDialog style that should be
used by the given wxFileProperty. This notably allows to have file properties
accepting not yet existing files, as is needed when using them for the file
names to be saved, not opened.

Closes #13894.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-23 13:59:52 +00:00
Vadim Zeitlin
c7a49742ec Add support for stricken-through fonts.
Support stricken-through fonts in wxMSW and wxGTK (including special support
in wxStaticText and wxTextCtrl).

Closes #9907.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-23 11:28:28 +00:00
Vadim Zeitlin
0634700a96 Add wxFont ctor taking a single flags argument instead of style/weight/...
Currently this ctor just does the same thing as the existing ctors in a
different way but it will be extended to support wxFONTFLAG_STRIKETHROUGH in
the next commits.

See #9907.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-23 11:28:21 +00:00
Vadim Zeitlin
0c99d1fb56 Fix documentation of wxConfig::Read(float*) overload.
Grouping methods using "//@{" and "//@}" apparently doesn't work and
completely wrong documentation is used in this case, so document the two
overloads separately, as it's done for the other methods.

Closes #13884.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-20 22:11:47 +00:00
Vadim Zeitlin
ab9d6a4c8b Add SetPostBuffer(wxMemoryBuffer) and SetPostText() to wxHTTP.
This allows to post binary data or text data in e.g. UTF-8 encoding (which is
by far the most common case) easily.

Deprecate the existing SetPostBuffer(wxString) as it didn't explicitly specify
the encoding to use for the data to be posted.

Closes #13870.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-20 12:22:25 +00:00
Vadim Zeitlin
846b6c8658 Added wxMemoryBuffer::Clear() and IsEmpty() methods.
Add two convenient methods which may be used instead of testing or setting the
buffer length.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-20 12:22:22 +00:00
Bryan Petty
ce45dbe3c8 Gave proper spacing to header include sections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-18 19:14:16 +00:00
Vadim Zeitlin
89041b2513 Fix header formatting problem in wxMessageBox() documentation.
@header macro must be preceded by a new line.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-18 09:51:38 +00:00
Vadim Zeitlin
24a03ec521 Consistently use "checked" in wxRadioButton documentation.
We used "depressed" or "selected"; replace both of them with hopefully more
clear "checked".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-17 23:48:01 +00:00
Julian Smart
8db2e3ef15 Added drawing context to allow 'virtual' (dynamic) attributes, for e.g. showing bookmarks without affecting the content
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-17 20:03:13 +00:00
Václav Slavík
907f09f44b Replace wxDataViewCtrl::StartEditor() with EditItem().
This is more consistent with other wxDVC methods (taking column pointer
as its argument) and other DVC-like classes where the name EditLabel()
is used for similar purposes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-17 14:05:17 +00:00
Václav Slavík
ee1377e1fa Add wxDataViewCtrl::GetCurrentColumn().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-17 14:05:07 +00:00
Julian Smart
590a0f8bcb Support for undoable application of custom properties, and customisation of properties menu label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-17 12:56:53 +00:00
Julian Smart
e9a16019a8 Fixed duplicate comment #13871
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-16 19:02:19 +00:00
Steve Lamerton
1f7d05f019 Add wxActiveXContainer::QueryClientSiteInterface to allow customisation of ActiveX controls.
Closes #13784.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 19:05:34 +00:00
Julian Smart
303f0be79e Added min and max size to box attributes; made property editing more customisable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 18:26:58 +00:00
Vadim Zeitlin
0e1f8ea4a3 Remove wxMGL port.
The company behind MGL toolkit (SciTech) doesn't exist since several years and
this port is not used by anybody, so remove it to ease maintenance burden.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 14:46:41 +00:00
Vadim Zeitlin
e4a23857ec Implement wxMenuBar::EnableTop() for wxMSW and wxGTK.
This method was only available in wxUniv before and just always returned true
in the other ports. Implement it for wxMSW and wxGTK too now and document it.
Also add a unit test.

Closes #795.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 13:41:17 +00:00
Vadim Zeitlin
28c2cd426a Fix variable name in wxFTP example in the documentation.
The variable should be called "in", not "i".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 12:28:54 +00:00
Vadim Zeitlin
3f42c23971 Document wxFileCtrl as being in the core library, not in the base one.
Closes #13866.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 12:28:50 +00:00
Vadim Zeitlin
bd362275b8 Remove Palm OS port.
The platform targeted by this port doesn't exist any more and the port never
achieved really working state so remove the code to avoid having to maintain
it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 01:05:28 +00:00
Václav Slavík
5313727812 Make column width calculations in wxDataViewCtrl and wxHeaderCtrl consistent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-14 16:51:57 +00:00
Vadim Zeitlin
c0211f554c Correct wxDropSource constructors documentation.
The types of the arguments (wxCursor vs wxIcon) were inversed. Even though the
description correctly said that wxCursor version was used by MSW and wxIcon --
by wxGTK the converse was actually documented.

Fix this and also mention OS X.

Finally remove the unnecessary and useless destructor documentation.

Closes #13856.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-12 18:15:12 +00:00
Vadim Zeitlin
975dc6910e Added wxAbort() which can also be used under Windows CE.
Windows CE doesn't have abort() so provide a wrapper which can be used even
there (see #13847).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-10 17:01:13 +00:00
Julian Smart
bb7bbd12d3 Improved layout, in particular passed a container size in order to allow relative size calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-09 14:19:50 +00:00
Dimitri Schoolwerth
d9384bfb6d no code changes, fixed some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-09 14:04:25 +00:00
Vadim Zeitlin
d1bf0be0bc Enhance wxRibbonToolBar functionality to wxRibbonButtonBar level.
Allow inserting and deleting tools and not only appending them.

Add possibility to enable/disable and toggle tools.

Send wxUpdateUIEvent for the tools.

Add various properties accessors.

Closes #13835.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-08 14:52:56 +00:00
Vadim Zeitlin
6a0e4ead1e Add wxTopLevelWindow::SetRepresentedFilename().
This currently is only implemented under OS X and sets the proxy icon there
but could be implemented to do something useful under the other platforms too
in the future.

Closes #13797.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-08 14:52:47 +00:00
Vadim Zeitlin
0fb731b8bf Add support for wxLIST_AUTOSIZE_USEHEADER to InsertColumn().
Use the fixed default width in InsertColumn() by default for compatibility but
allow more useful behaviour in it by supporting wxLIST_AUTOSIZE_USEHEADER as
well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-07 15:09:51 +00:00
Vadim Zeitlin
c23edb1b71 Add convenient wxListCtrl::AppendColumn() wrapper.
In the vast majority of cases, columns are just appended to the end and not
inserted at arbitrary positions in wxListCtrl so provide a convenient wrapper
to do this, especially as it's really trivial to do it now when it can be done
only once at wxListCtrlBase level.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-07 15:09:47 +00:00
Vadim Zeitlin
3b2f80c205 Set Z-position correctly for wxEVT_JOY_ZMOVE events.
Z-move events don't have (x, y) position, but they do have Z-position which
needs to be set.

Also don't use (x, y) position for these events in the sample.

See #748.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-07 15:09:29 +00:00
Julian Smart
4e63bfb9b3 Removed compilation ambiguity between different forms of ...WithUndo functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-05 15:48:21 +00:00
Julian Smart
eb3d8a3319 Implement missing wxTextBoxAttr::IsDefault function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-04 16:32:08 +00:00
Vadim Zeitlin
13b4df952c Fix wxEncodingConverter::Convert(wchar_t) documentation.
This method mistakenly "inherited" the same documentation as 2 argument
Convert() overloads.

Closes #13825.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 23:27:50 +00:00
Julian Smart
0c0e063e66 Applied #13819: wxRTC drag and drop, by dghart, with tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 14:09:34 +00:00
Stefan Csomor
606e096810 fixes #13695
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 10:53:12 +00:00
Vadim Zeitlin
94cac3bf82 Improve links in wxAuiManager flags documentation.
Use @param tags and "::" to link enum name.

Closes #13689.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 00:40:32 +00:00
Vadim Zeitlin
bb65ca31d7 Document wxIMAGE_OPTION_CUR_HOTSPOT_[XY] in wxCursor ctor.
These options were already mentioned in wxCursor documentation but not
prominently enough, so mention them explicitly in the documentation of
wxCursor ctor from wxImage.

Closes #13820.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 00:40:27 +00:00
Vadim Zeitlin
3ecb578aa9 Correct documentation of supported cursor sizes under wxOSX.
wxOSX/Cocoa seems to support cursors of any size and with colours.

Closes #12614.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 00:40:22 +00:00
Julian Smart
2f987d8309 Added a box style definition name to the box attribute.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-02 21:18:05 +00:00
Julian Smart
9b794421ae Split up the context menu functionality to make it easier to customise.
Tweaked style combobox popup border.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 17:12:37 +00:00
Václav Slavík
cf5d4c76af Implement wxDataViewModel::IsEnabled() support in generic implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 14:28:13 +00:00
Robin Dunn
50e55c13ea Interface fixes and tweaks for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 06:14:17 +00:00
Vadim Zeitlin
c75e580c0e Document wxAuiManager styles and flags.
Closes #13689.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-29 22:05:50 +00:00
Vadim Zeitlin
ff4cb9160e Add wxRibbonButtonBar::InsertXXXButton() methods.
Allow inserting buttons into the ribbon bar and not only appending them.

Closes #13811.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-29 22:05:39 +00:00
Vadim Zeitlin
144a67054a Mention wxEVT_COMMAND_TOGGLEBUTTON_CLICKED explicitly in the documentation.
Document the event type together with the event table macro.

See #11943.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-29 22:05:19 +00:00
Vadim Zeitlin
7f3f059ac5 Complete wxEVT_MENU_{OPEN,CLOSE} implementation in wxMSW and wxOSX.
Set the wxMenu correctly for wxEVT_MENU_CLOSE events in wxMSW.

Set the menu id correctly to allow wxMenuEvent::IsPopup() to work for both
wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE in wxOSX.

Closes #11313.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-28 13:51:17 +00:00
Vadim Zeitlin
4d8e8355b4 Added a warning about multi-cells in wxGrid::DeleteRows() docs.
Currently deleting rows or columns intersecting a multi-cell is simply not
supported and results in an immediate crash.

See #4238.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-25 12:52:56 +00:00
Vadim Zeitlin
b099835e8f Fix typo in wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK in documentation.
It was misspelt as wxEVT_COMMAND_RICHTEXT_DLEFT_CLICK.

Closes #13802.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-24 15:43:01 +00:00
Vadim Zeitlin
4ffdb64018 Add wxLogFormatter to allow easier wxLog output customization.
Delegate the log string creation to wxLogFormatter. This allows defining a
custom object of a class derived from it to customize the log output instead
of having to override DoLogRecord() in wxLog itself.

Closes #13792.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 13:35:01 +00:00
Robin Dunn
bb6eb69414 Interface fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:25:18 +00:00
Vadim Zeitlin
54d323d299 Document wxListCtrl::InReportView() and IsVirtual().
These functions are more convenient than directly testing for styles and are
already used outside wxWidgets do make them officially part of the public API.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-21 13:07:18 +00:00
Vadim Zeitlin
921e411cc1 Ignore extra modify events after rename in wxFileSystemWatcher.
Document that such extra events may occur and generally improve the event
types documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-21 00:26:06 +00:00
Vadim Zeitlin
fceac6bbfe Provide native implementation of wx{Date,Time}PickerCtrl for wxOSX/Cocoa.
Use NSDatePicker to implement both of these controls. Almost all of
wxDatePickerCtrl styles are not supported in the native version but the basic
functionality does work and looks much better than the generic version (which
is still available as wxDatePickerCtrlGeneric if needed) under Mac.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-20 21:27:14 +00:00
Robin Dunn
3d2ee2fb05 Interface tweaks and fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 22:39:02 +00:00
Bryan Petty
b821341a03 Added missing semi-colon in versioninfo.h interface header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 21:16:01 +00:00
Vadim Zeitlin
ee4d438064 Added support for wxEXEC_MAKE_GROUP_LEADER to wxExecute().
Map it to the native CREATE_NEW_PROCESS_GROUP flag as it's broadly similar to
Unix semantics.

Closes #13676.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 12:54:48 +00:00
Vadim Zeitlin
1c959a62ce Add possibility to set item background in generic wxDataViewCtrl.
Added wxDataViewItemAttr::SetBackgroundColour() and code to honour it in the
generic implementation of wxDataViewCtrl.

Closes #12621.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 12:54:38 +00:00
Vadim Zeitlin
75cb911c7c Added wxFilePickerCtrl::SetInitialDirectory().
This method allows to configure the initial directory to be shown when
browsing for files in an initially empty wxFileDirPickerCtrl.

It is also available for wxDirPickerCtrl but is less useful there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-18 12:34:47 +00:00
Vadim Zeitlin
ecc610f1af Corrected the name of EVT_WEB_VIEW_ERROR event table macro.
It was mistakenly spelt EVT_WEB_VIEW_ERRROR.

Closes #13772.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-17 23:52:40 +00:00
Vadim Zeitlin
65ea1c9dca No changes, just fix typo in an example in webview docs.
See #13772.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-17 23:52:36 +00:00
Vadim Zeitlin
bf79972894 Document that setting colours for native controls might not work.
Changing colours of the native controls can't be relied on.

See #13745.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-11 23:51:14 +00:00
Vadim Zeitlin
4cf1a9bf4a Ensure that Enter key presses are never stolen from wxButton in wxMSW.
This commit fixes the following bug: when an in-place editor control containing
an embedded button was used in wxDataViewCtrl, pressing Enter on the button
would close the editor, accepting changes, instead as (generic) wxDataViewCtrl
intercepts WXK_RETURN in its EVT_CHAR_HOOK handler. To prevent this from
happening, wxButton now handles EVT_CHAR_HOOK itself and never lets the parent
window intercept it if it's for WXK_RETURN. To ensure that normal
wxEVT_KEY_DOWN and wxEVT_CHAR are still generated in this case, wxButton
handler calls the new wxKeyEvent::DoAllowNextEvent() method that was added to
allow suppressing EVT_CHAR_HOOK only, without affecting the subsequent events.
DoAllowNextEvent() is currently only used in wxMSW but support for it was also
added to wxGTK and (both) wxOSX ports.

See #9102.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-11 17:03:56 +00:00
Vadim Zeitlin
a4a06df3b4 Document wxFileConfig ctor.
This ctor was not documented at all because the comment preceding it was a
plain C++ comment and not a Doxygen one.

Do it now, especially as the logic of this ctor is not quite obvious.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 11:42:49 +00:00
Robin Dunn
5eb16fe200 Use default values for some parameters of wxSizerItem and wxGBSizerItem ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:34:06 +00:00
Vadim Zeitlin
4fe4a7c50f Add wxEXEC_HIDE_CONSOLE flag allowing to unconditionally do it under MSW.
Also renamed wxEXEC_NOHIDE to wxEXEC_SHOW_CONSOLE for symmetry (keeping the
old name for compatibility, of course).

Extend exec sample to allow easily testing the different flags and adding more
of them later.

See #13676.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-08 20:22:55 +00:00
Vadim Zeitlin
0266103273 Explicitly document wxEXEC_XXX flags.
These flags were described in wxExecute() documentation but not clearly
documented individually, do it now.

Also reduce duplication of documentation in different wxExecute() overloads.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-08 20:22:52 +00:00
Vadim Zeitlin
5fafec4d9f Document that wxEraseEvent::GetDC() never returns NULL.
This makes implementation of EVT_ERASE_BACKGROUND handlers simpler.

Closes #13736.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-08 13:07:53 +00:00
Vadim Zeitlin
b0c7cd8ed5 Correct the name of EVT_DATAVIEW_ITEM_START_EDITING event type in the docs.
START_EDITING is not the same as EDITING_STARTED.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-08 13:04:11 +00:00
Vadim Zeitlin
ff8cb900da Implement wxComboBox::Popup() and Dismiss() for wxOSX/Cocoa.
Unlike in the other ports, these methods currently don't generate any events
under OS X because these events are never generated at all there.

Closes #12642.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-07 23:41:06 +00:00
Vadim Zeitlin
2e8c12bcb0 Add documentation of emitted events to wxScrolled documentation.
Make it clear that wxScrolled<> emits wxScrollWinEvent and not wxScrollEvent.

Closes #13730.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-07 12:46:15 +00:00