Vadim Zeitlin
b02dd12239
Use /bin/echo for creation of Mac OS X PkgInfo files.
...
The built-in of /bin/sh doesn't handle "-n" option that we use (at least not
under OS X 10.6), so we were getting "-n APPL????" in the generated files.
Fix this by using /bin/echo which does support this option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 22:48:39 +00:00
Paul Cornett
d058098eb2
avoid deprecated gdk_net_wm_supports()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 18:23:39 +00:00
Paul Cornett
ab7049776d
remove run-time check for now-required GTK 2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 18:06:22 +00:00
Paul Cornett
f705fbf007
remove unnecessary override of AddChildGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 17:25:59 +00:00
Paul Cornett
cafc6e0f1f
fix virtual override broken in r58875
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 17:06:56 +00:00
Stefan Csomor
13842bbf04
removing Quickdraw call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 16:30:58 +00:00
Vadim Zeitlin
4d87e34d03
Fix unused parameter warning in wxOSX build.
...
No real changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 14:41:30 +00:00
Stefan Csomor
fee9bb6407
making sure TextMatrix is always identity, there were strange artifacts sometimes, maybe due to interference with cocoa text system, adding debug method CheckInvariants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 14:39:32 +00:00
Paul Cornett
b4261b2033
Remove code to query GDK window origin from DoGetPosition(), it should not be necessary, and was probably wrong anyway.
...
This allows removing unnecessary assertions on m_widget (see #14052 ).
Also, avoid setting initial position to (-1,-1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 05:29:35 +00:00
Paul Cornett
c70b2c8f1c
avoid crash if IsMaximized() is called before native widget is created, fixes #14052
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 04:40:15 +00:00
Vadim Zeitlin
74bde8745f
Fix setting default file name in wxGenericFileDirButton in wxGTK.
...
Set the default directory first, if it's specified, and the file name later to
ensure that it's interpreted relatively to this directory. Otherwise we could
have a mismatch between the directory shown in the dialog and its initial
path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 02:05:01 +00:00
Vadim Zeitlin
257d35aead
Interpret default file name relatively to initial dir in wxGTK wxFileDialog.
...
Use the initial dialog directory to build the absolute path required by GTK+
in wxFileDialog instead of the current working directory. This makes more
sense and makes specifying the default directory and (just) the default file
name work correctly and avoids GTK+ warnings like
Gtk-CRITICAL **: gtk_file_folder_unix_get_info: assertion `strcmp (dirname, folder_unix->filename) == 0' failed
(and in some older versions of GTK+ -- 2.10? -- this even results in a crash).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 02:04:57 +00:00
Robin Dunn
54c45be005
Add a bit of docs for the FS Handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 23:51:05 +00:00
Robin Dunn
f115bfec38
Phoenix needs to see the implementation of pure virtuals so it knows that this class is not abstract.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 23:50:59 +00:00
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