Commit Graph

54812 Commits

Author SHA1 Message Date
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
488b8b52bb No changes, just simplify some code in wxX11.
Don't use redundantly weird flags tests.

Closes #14020.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:57:10 +00:00
Vadim Zeitlin
cec9cd06a3 No changes, just remove a redundant wxGROW.
Closes #14018.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:57:06 +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
af46dd7bb8 Allow handling EVT_UPDATE_UI for wxID_UNDO/REDO at wxDocument level.
Don't require using wxCommandProcessor for this, only use it if it exists.

Closes #14011.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:55 +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
805b7b2109 Make wxSingleChoiceDialog::GetSelectionData() const.
Also restore const-ness of GetSelectionClientData() lost in r70514.

Closes #14001.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:18 +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
f030ce0cff Don't initialize wxFileDialog::m_filterIndex to 1 in wxMotif.
This makes it consistent with all the other ports.

Closes #1129.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:55:59 +00:00
Vadim Zeitlin
7193abfbc8 Use wxPageSetupDialogData instead of old wxPageSetupData everywhere.
No real changes, just don't use the old and kept for compatibility only
wxPageSetupData name.

Closes #13992.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:55:55 +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
7e2cf46425 Removed unnecessary newlines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 18:02:04 +00:00
Julian Smart
6460c5990b Minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 17:58:39 +00:00
Julian Smart
55e72ca5c4 Corrected missing angled bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 17:57:56 +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
Vadim Zeitlin
9362d82351 Fix unit test French locate checks for glibc >= 2.8.
Until 2.7 glibc wrongly used periods instead of slashes as separators for the
French date format and the test accounted for this, breaking it with recent
glibc versions in which this bug was fixed.

Fix this by limiting the workaround to the old glibc versions only.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 10:59:37 +00:00
Vadim Zeitlin
eeea7e8cf0 Don't apply svn commit hook checks to 2.8 branch.
Some of the files in 2.8 still use the old conventions, allow doing changes in
them without completely updating them to follow the rules checked by the hook.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-19 15:50:32 +00:00
Vadim Zeitlin
a4a07f1a43 Don't exclude message catalog files from UTF-8 checks in svn hook.
The message catalogs do use UTF-8 now, so check that no non-UTF-8 ones are
checked in in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-19 15:50:29 +00:00
Stefan Neis
e75e881575 Spelling fixed for comments and a wxASSERT_MSG. Fixes #14022.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-19 14:49:37 +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
Stefan Neis
e91d8a28e8 Spelling fixes to comments, fixes #13994.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 19:43:03 +00:00
Stefan Neis
3534fee076 Fixed miss-spelling in output messages (enviroment -> environment,
occured -> occurred), fixing 13993.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 19:31:59 +00:00
Vadim Zeitlin
be546c6fe4 Update the main translation template and all the message catalogs.
This was done mostly to ensure that updating works correctly after the last
round of manually fixing the catalogs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 17:12:56 +00:00
Vadim Zeitlin
2ff4ddf830 Remove duplicate "About" entries from message catalogs.
Somehow we had duplicate entries for "About" string in almost all the message
catalogs. This prevented them from compiling correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 17:12:41 +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
Paul Cornett
93a555caff modification to fix in r70597, has-window check is unnecessary and perhaps incorrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 16:41:23 +00:00
Vadim Zeitlin
c34ced947a Add forward declarations to fix wx/propgrid/editors.h compilation.
This header resulted in compilation errors if it was included as the first
propgrid header. Fix this by adding the required forward declarations.

Closes #13989.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:22 +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
901504c383 Refactor wxFileName existence checking code.
Merge FileExists() and DirExists() together in a single
wxFileSystemObjectExists() helper in preparation for adding a function
checking for the existence of any kind of file system object.

There should be no changes for MSW/Unix but OS/2 file detection was changed
slightly to always use DosQueryPathInfo() instead of using it only for the
directories and stat() for files. Not sure if this is the right thing to do
there but it seems like the code should work.

Also add a simple unit test for these functions.

See #953.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:39:41 +00:00