Commit Graph

54746 Commits

Author SHA1 Message Date
Vadim Zeitlin
e59e670c9b 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
2012-02-25 23:49:55 +00:00
Vadim Zeitlin
4dfc0ca0c5 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
2012-02-25 23:49:53 +00:00
Vadim Zeitlin
8b89611217 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
2012-02-25 23:49:49 +00:00
Vadim Zeitlin
4934653e18 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
2012-02-25 23:49:45 +00:00
Vadim Zeitlin
fe9b56985f 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
2012-02-25 23:49:42 +00:00
Vadim Zeitlin
0f4bf6ac80 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
2012-02-25 23:49:39 +00:00
Vadim Zeitlin
7c9b6c9111 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
2012-02-25 23:49:35 +00:00
Vadim Zeitlin
41fec01fa9 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
2012-02-25 23:49:32 +00:00
Julian Smart
69fa3d26d3 Add borders if none specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-25 22:29:25 +00:00
Stefan Csomor
50d4763f17 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
2012-02-25 18:30:04 +00:00
Vadim Zeitlin
1995d517d7 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
2012-02-25 15:03:23 +00:00
Vadim Zeitlin
29a3f6548e 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
2012-02-25 15:03:20 +00:00
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
Václav Slavík
a739b8b2df Fix r70318 to skip unhandled events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-25 12:55:46 +00:00
Julian Smart
2fb1532a89 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
2012-02-25 11:08:11 +00:00
Vadim Zeitlin
53b2d7d70a Dutch translations update from Gideon van Melle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-23 19:43:05 +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
36cc76505c 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
2012-02-23 13:56:14 +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
Julian Smart
aa8f57f491 Removed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-23 07:07:15 +00:00
Julian Smart
abe0903cd4 Compile fixes for wxUSE_COLLPANE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-22 17:35:21 +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
e3efa5c1ec 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
2012-02-22 13:41:11 +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
Stefan Csomor
a2ce64695d 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
2012-02-22 08:24:09 +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
Stefan Csomor
2d0744aa1b 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
2012-02-21 20:22:16 +00:00
Michael Wetherell
8bda419d02 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
2012-02-21 20:11:16 +00:00
Stefan Csomor
91722d7412 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
2012-02-21 16:23:39 +00:00
Julian Smart
c8c77ee2af 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
2012-02-21 09:24:52 +00:00
Robin Dunn
c3e0999b06 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
2012-02-21 05:39:00 +00:00
Robin Dunn
c0e5edf548 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
2012-02-21 05:38:53 +00:00
Vadim Zeitlin
6bed673eb3 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
2012-02-20 21:57:17 +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
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