Robin Dunn
fb3b60978f
Add missing RemoveHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 23:50:54 +00:00
Robin Dunn
3507d2d43f
Add interface declarations for stock file system handlers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 23:50:49 +00:00
Robin Dunn
c69612defc
Change the background style in the template file too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 23:50:39 +00:00
Vadim Zeitlin
b0272c6014
Return an invalid item from wxDataViewCtrl::GetItemByRow() for invalid rows.
...
This function is called in many places in the code with possibly invalid (i.e.
out of range) row, so handle it gracefully inside it in virtual list control
case. This is consistent with the behaviour in non-virtual case and with that
of GetRowByItem().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 18:54:02 +00:00
Vadim Zeitlin
f2bf2d71c1
No changes, just make wxDataViewMainWindow::GetRowCount() const.
...
This is clearly an accessor function, so make it const, even if it requires a
const_cast<> inside it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 18:53:58 +00:00
Paul Cornett
a81a195556
remove redundant GTK check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 18:07:21 +00:00
Paul Cornett
fac46b97d6
use 0 (== GTK_STATE_NORMAL) for state parameter default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 17:49:33 +00:00
Paul Cornett
622226dc73
avoid making copy of font description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 16:40:34 +00:00
Stefan Csomor
2432e39563
no 10.4 support anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 15:41:35 +00:00
Stefan Csomor
08eb5b48d0
no 10.4 support anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 15:38:39 +00:00
Stefan Csomor
524248fae3
no 10.4 support anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 15:37:24 +00:00
Stefan Csomor
29c829ba84
no 10.4 support anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 15:35:31 +00:00
Vadim Zeitlin
27674b66c0
Document more events in wxAuiNotebookEvent documentation.
...
This is the second part of r70691.
Closes #14040 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 15:26:54 +00:00
Stefan Csomor
93b802898d
no 10.4 support anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 15:20:19 +00:00
Václav Slavík
eb7df491e1
Improve default wxDVC line height on Windows >= Vista.
...
Explorer in Vista/Win7 uses slightly larger rows, so mimic it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 14:27:47 +00:00
Vadim Zeitlin
33f270afac
Allow passing the list of architectures to --enable-universal_binary.
...
Interpret --enable-universal_binary argument as a comma-separated list of
architectures to use. By default still use all the supported ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 01:47:32 +00:00
Vadim Zeitlin
f04f570fd2
Only include <unistd.h> under Unix in wxGTK code.
...
Also remove the inclusions of some Unix-specific headers that were not needed
at all.
Closes #14048 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 00:40:16 +00:00
Vadim Zeitlin
1b4bff8262
Add minimal support for building non-GUI parts of wxWidgets for Android.
...
Recognize __ANDROID__ in wx/platform.h and include the appropriate headers
from wx/android.
Also fix a couple of compilation errors (in filename.cpp) and warnings (in
event.h) which only appear when building for Android.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-26 20:24:25 +00:00
Steve Lamerton
1eff60811f
Update configure.in to use pkg_config to find the webkit hearers and libraries. Regenerate configure.in
...
Fixes #14015
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-26 18:36:07 +00:00
Vadim Zeitlin
3b81515cb1
Fix wxGTK compilation when using non X11-based GDK.
...
Only use X11-specific GDK functions inside "#ifdef GDK_WINDOWING_X11" checks.
Closes #14044 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-26 17:18:41 +00:00
Vadim Zeitlin
8334be51fb
Retrieve paper size from page setup dialog in wxOSX/Cocoa.
...
Call PMGetPageFormatPaper() when retrieving data from the native dialog.
Closes #14047 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-26 17:18:34 +00:00
Julian Smart
880da677a4
Fixed enabling/disabling for wxSpinCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-26 15:44:04 +00:00
Stefan Csomor
968978c0e4
also a dialog needs the current events set up correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-26 13:30:55 +00:00
Stefan Csomor
2712275c88
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
2012-02-26 10:21:03 +00:00
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