]>
git.saurik.com Git - wxWidgets.git/log
Stefan Csomor [Sun, 26 Feb 2012 10:21:03 +0000 (10:21 +0000)]
setting up current event also when mouse is captured ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70694
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:55 +0000 (23:49 +0000)]
Ensure that combobox editor used by wxGrid is tall enough.
Set the rectangle of wxGridCellChoiceEditor to be at least as tall as the best
(i.e. minimal) wxComboBox size because otherwise the control can be unusable.
Closes #13818.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70693
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:53 +0000 (23:49 +0000)]
Suppress harmless MSVC warnings about int to bool conversions.
Convert int to bool explicitly to avoid MSVC warning C4800.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70692
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:49 +0000 (23:49 +0000)]
Document more wxAuiNotebook events.
Add descriptions of several previously undocumented
wxEVT_COMMAND_AUINOTEBOOK_XXX events and the corresponding event table entries.
Closes #14040.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70691
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:45 +0000 (23:49 +0000)]
Dispatch unknown messages immediately in wxMSW YieldFor().
Failure to do this can have catastrophic consequences, e.g. embedded ActiveX
IE controls may stop working -- even after resuming the normal message
dispatching.
Closes #14027.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:42 +0000 (23:49 +0000)]
Minor fixes to wxMessageBox() documentation.
Correct the default parameters values.
Closes #14043.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:39 +0000 (23:49 +0000)]
Don't assert in wxLocale::IsAvailable() if language is not supported.
We can fail to find language information if we're called with
wxLANGUAGE_DEFAULT and we don't support the current system language.
Closes #14039.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:35 +0000 (23:49 +0000)]
Compare file inodes if possible in wxFileName::SameAs().
This allows to correctly return when the two files with different names
actually refer to the same file system object.
Closes #910.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 23:49:32 +0000 (23:49 +0000)]
Remove temporary files created by wxFileName unit test case.
Don't leave temporary files created by wxFileName::CreateTempFileName() lying
around.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 25 Feb 2012 22:29:25 +0000 (22:29 +0000)]
Add borders if none specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70685
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 25 Feb 2012 18:30:04 +0000 (18:30 +0000)]
adding a app-defined event seems to quit inner eventloops like eg the popup of the combobox, therefore use the cf api in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70684
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 15:03:23 +0000 (15:03 +0000)]
Use Doxygen comments for wxVisualAttributes members.
Fix documentation of wxVisualAttributes by simply turning the normal comments
into Doxygen ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 15:03:20 +0000 (15:03 +0000)]
No changes, just remove functions bodies from interface docs.
Omit the implementations, even trivial ones, from the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Feb 2012 15:03:17 +0000 (15:03 +0000)]
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
Václav Slavík [Sat, 25 Feb 2012 12:55:46 +0000 (12:55 +0000)]
Fix r70318 to skip unhandled events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 25 Feb 2012 11:08:11 +0000 (11:08 +0000)]
More reasonable font size for rich text dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 23 Feb 2012 19:43:05 +0000 (19:43 +0000)]
Dutch translations update from Gideon van Melle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 23 Feb 2012 17:01:30 +0000 (17:01 +0000)]
Added functionality for disabling the vertical scrollbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70676
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 23 Feb 2012 16:33:13 +0000 (16:33 +0000)]
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
Vadim Zeitlin [Thu, 23 Feb 2012 13:56:14 +0000 (13:56 +0000)]
Use wxStrnicmp() instead of strncasecmp() in wxGTK code.
This fixes compilation under Windows where strncasecmp() is not available --
but portable wxStrnicmp() always is.
Closes #14036.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 23 Feb 2012 13:56:10 +0000 (13:56 +0000)]
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
Julian Smart [Thu, 23 Feb 2012 07:07:15 +0000 (07:07 +0000)]
Removed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 22 Feb 2012 17:35:21 +0000 (17:35 +0000)]
Compile fixes for wxUSE_COLLPANE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 22 Feb 2012 13:41:15 +0000 (13:41 +0000)]
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
Vadim Zeitlin [Wed, 22 Feb 2012 13:41:11 +0000 (13:41 +0000)]
Don't crash when using wxPrintDialog with NULL parent under GTK.
Check that we have a valid parent before using it.
Also simplify the code a little.
Closes #14033.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 22 Feb 2012 13:41:07 +0000 (13:41 +0000)]
Fix spelling in the documentation.
Closes #14034.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 22 Feb 2012 08:24:09 +0000 (08:24 +0000)]
catching default button handling also in password fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 21 Feb 2012 22:02:21 +0000 (22:02 +0000)]
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
Stefan Csomor [Tue, 21 Feb 2012 20:22:16 +0000 (20:22 +0000)]
making sure eventual borders get updated when windows are shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Tue, 21 Feb 2012 20:11:16 +0000 (20:11 +0000)]
Remove testing against zip in a pipeline as it no longer supports it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 21 Feb 2012 16:23:39 +0000 (16:23 +0000)]
making sure eventual borders get updated when windows are hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 21 Feb 2012 09:24:52 +0000 (09:24 +0000)]
The tree only sets the focus in response to a TVN_SELCHANGINGW event if the tree is not being deleted.
TVN_SELCHANGINGW is generated when the tree items are deleted. Without this change, if a tree control is
in a dialog being closed, the newly active window will become inactive momentarily when tree items
are deleted and you will see a flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 21 Feb 2012 05:39:00 +0000 (05:39 +0000)]
Rewrite DoPaint, FullPaint and add FullPaintDC to help deal with flicker problems and to be more like how the other Scintilla ports are working now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 21 Feb 2012 05:38:53 +0000 (05:38 +0000)]
If WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This assumes that it is not a cygwin oxygen that is being run, if that's not the case then set WXWIDGETS before running regen.sh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 20 Feb 2012 21:57:17 +0000 (21:57 +0000)]
Don't crash in wxImage::SaveFile() if MIME type is not recognized.
Insert a missing "return false" whose lack resulted in a crash if the handler
for the given MIME type wasn't found.
Closes #14028.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 20 Feb 2012 21:57:13 +0000 (21:57 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:57:10 +0000 (21:57 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:57:06 +0000 (21:57 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:59 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:55 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:52 +0000 (21:56 +0000)]
Document wxNotificationMessage::Timeout_XXX values.
Closes #14009.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:46 +0000 (21:56 +0000)]
Fix typos in wxRibbonButtonBar documentation.
Closes #14008.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:42 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:38 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:34 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:30 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:25 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:22 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:18 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:14 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:10 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:06 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:56:03 +0000 (21:56 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:55:59 +0000 (21:55 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:55:55 +0000 (21:55 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 21:55:49 +0000 (21:55 +0000)]
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
Julian Smart [Mon, 20 Feb 2012 18:02:04 +0000 (18:02 +0000)]
Removed unnecessary newlines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70633
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 20 Feb 2012 17:58:39 +0000 (17:58 +0000)]
Minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 20 Feb 2012 17:57:56 +0000 (17:57 +0000)]
Corrected missing angled bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70631
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 20 Feb 2012 11:38:52 +0000 (11:38 +0000)]
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
Vadim Zeitlin [Mon, 20 Feb 2012 10:59:37 +0000 (10:59 +0000)]
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
Vadim Zeitlin [Sun, 19 Feb 2012 15:50:32 +0000 (15:50 +0000)]
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
Vadim Zeitlin [Sun, 19 Feb 2012 15:50:29 +0000 (15:50 +0000)]
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
Stefan Neis [Sun, 19 Feb 2012 14:49:37 +0000 (14:49 +0000)]
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
Stefan Neis [Sat, 18 Feb 2012 19:59:59 +0000 (19:59 +0000)]
Fixed spelling errors, fixes #14021.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70624
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 18 Feb 2012 19:43:03 +0000 (19:43 +0000)]
Spelling fixes to comments, fixes #13994.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 18 Feb 2012 19:31:59 +0000 (19:31 +0000)]
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
Vadim Zeitlin [Sat, 18 Feb 2012 17:12:56 +0000 (17:12 +0000)]
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
Vadim Zeitlin [Sat, 18 Feb 2012 17:12:41 +0000 (17:12 +0000)]
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
Julian Smart [Sat, 18 Feb 2012 14:24:38 +0000 (14:24 +0000)]
Removed OnSelect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 18 Feb 2012 14:22:56 +0000 (14:22 +0000)]
Fixed name of GetCombinedStyleForLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70616
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 18 Feb 2012 14:20:01 +0000 (14:20 +0000)]
Applied #14000 (wxRichTextXMLHandler interface fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70615
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 15 Feb 2012 16:41:23 +0000 (16:41 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:22 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:18 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:14 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:10 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:07 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:04 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:40:00 +0000 (15:40 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:39:56 +0000 (15:39 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:39:53 +0000 (15:39 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:39:49 +0000 (15:39 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:39:46 +0000 (15:39 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:39:41 +0000 (15:39 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 15:39:37 +0000 (15:39 +0000)]
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
Paul Cornett [Wed, 15 Feb 2012 07:04:42 +0000 (07:04 +0000)]
avoid sending mouse events to the wrong window, fixes #2917
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70597
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 15 Feb 2012 00:36:02 +0000 (00:36 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:58 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:55 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:52 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:47 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:43 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:39 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:36 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:32 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:29 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:25 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:21 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:18 +0000 (00:35 +0000)]
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