Commit Graph

48147 Commits

Author SHA1 Message Date
Bryan Petty
8a606bb006 More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:04:46 +00:00
Francesco Montorsi
bf19b714f0 reorganize the sample splitting it in two source files and an additional header; most important: don't tile all the controls into the main frame: it becomes too big; rather use a notebook control to properly layout them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 17:21:40 +00:00
Francesco Montorsi
d6e329cfbc build fix; document HasFeature() (should be part of r59313)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 15:53:55 +00:00
Francesco Montorsi
425ec0a5a3 no real change: just reorder the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 15:23:56 +00:00
Francesco Montorsi
a4d291f0ab remove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there: GetStockObject(DEFAULT_PALETTE) returns a palette and not a font; so the resulting wxFont is wrong.
Expand and correct documentation for various system constants.
Provide wxSYS_COLOUR_FRAMEBK as a synonym for wxSYS_COLOUR_BTNFACE as it is the colour which must be used to make wxFrame background coherent with the background of the controls they (eventually) contain.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 15:19:58 +00:00
Francesco Montorsi
076218c2a9 add headers to the samples' bakefiles so that they show up in MSVC project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 11:47:32 +00:00
Francesco Montorsi
9e27ff7519 revert addition of the simple listctrl; it doesn't help.
Log the version of comctl32.dll under wxMSW; it's useful when reporting bugs or when debugging

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 11:39:13 +00:00
Jouk Jansen
7a8b7e04af inserting missing include for non PCH-build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 07:42:42 +00:00
Kevin Ollivier
08c1b1340d More fixes for clickCount... even sometimes when respondsToSelector returned true we'd get a crash, so only check clickCount for up and down events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 23:23:51 +00:00
Francesco Montorsi
c83d207b76 clarify the list of bitmap handlers natively supported.
Clarify that wxBitmap::AddHandler isn't useful to the final user; wxImage::AddHandler should be used instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 23:10:13 +00:00
Jaakko Salli
8c5c56e201 Remove unneeded workaround for a ScrolledWindow issue that is now fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 21:17:36 +00:00
Jaakko Salli
ed9e243d58 Remove wxEnumProperty::ms_prevIndex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 21:04:08 +00:00
Francesco Montorsi
f1f688c84d update the list of samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 20:57:58 +00:00
Vadim Zeitlin
1146927789 use ldlibs, not ldflags, for wx-config --libs output in gnu format as well as in autoconf one to ensure that the libraries appear at the end of the linker command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 19:20:44 +00:00
Julian Smart
6d595f3d7a Don't crash if no scrollbar
Force wxVSCROLL in wxRTC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 13:12:52 +00:00
Vadim Zeitlin
87ebb0b789 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:24:20 +00:00
Vadim Zeitlin
55410bb4f6 fix wxGTK1 compilation after wxTextEntry DoGetValue() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:21:35 +00:00
Vadim Zeitlin
417943bf06 fix virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:21:03 +00:00
Vadim Zeitlin
d1b8a7430f fix virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:20:11 +00:00
Francesco Montorsi
834fcdd949 ProcessPendingEvents() is now in wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 21:14:01 +00:00
Vadim Zeitlin
063fcdc78d don't generate non-MSVC makefiles for MSVC-only samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:49:00 +00:00
Francesco Montorsi
8e40ed8535 move pending event processing back to wxApp (these methods were moved into wxEventLoopBase during YieldFor() refactoring - see #10320): we need to be able to queue events even when there's no event loop running (e.g. wxApp::OnInit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:45:22 +00:00
Vadim Zeitlin
805c8d92b9 wxOSX build fix for wxRichTextCtrl after wxTextEntry::GetValue() renaming to DoGetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:43:12 +00:00
Francesco Montorsi
d7612120de remove references to datetime_constants; they're not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:41:08 +00:00
Kevin Ollivier
7da00c46e1 Land the rest of the changes made by a rebake after r59067.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:11:39 +00:00
Francesco Montorsi
191e43fd02 revert r59246; the window parameter was there by purpose (i.e. for consistency with other Get* methods -- even if unused); document what the win parameter does in the various wxRenderer::Get* methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:09:10 +00:00
Vadim Zeitlin
00c89b2207 another wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 19:28:44 +00:00
Vadim Zeitlin
33b3ade503 wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 19:17:42 +00:00
Kevin Ollivier
d12ba8b022 Rebake after OS X Cocoa header changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 18:30:23 +00:00
Kevin Ollivier
18888a063e Commit changes caused by setting configure.in's svn:eol-style to LF. (r58985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 18:23:02 +00:00
Kevin Ollivier
0b9dcf0ad0 Update files.bkl to look in the proper place for moved header files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 18:08:28 +00:00
Vadim Zeitlin
d0a22afc38 build fix: define DoGetValue() and GetEditableWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 16:23:55 +00:00
Vadim Zeitlin
586a789446 compilation fix after GetEditableWindow() signature change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 16:22:30 +00:00
Vadim Zeitlin
2805bdda51 fix warning about possibly uninitialized variable in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 14:54:04 +00:00
Vadim Zeitlin
ed17f32923 remove SetValue() which is not needed and which definition was removed by the previous change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 14:49:55 +00:00
Vadim Zeitlin
4ba5f250ea make GetEditableWindow() protected as it's used by wxGTK wxTextEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 14:03:19 +00:00
Vadim Zeitlin
3373e90070 wxUniv compilation fixes after wxTextEntry::DoGetValue() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 13:58:42 +00:00
Vadim Zeitlin
0208a9a31b fix overloaded virtual warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 13:45:09 +00:00
Vadim Zeitlin
135b23b266 added wxTextEntry::DoGetValue() to allow returning empty string if the control currently contains hint text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 13:31:29 +00:00
Vadim Zeitlin
7bc7db450b set correct properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:40:38 +00:00
Vadim Zeitlin
63f7d5022e added wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:25:01 +00:00
Vadim Zeitlin
231728361c add ugly macros to abstract the difference between Bind() and Connect() -- this is still less ugly than having #ifs everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:10:40 +00:00
Vadim Zeitlin
9fa83f9318 update to Dutch translations from Gideon van Melle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 11:51:28 +00:00
Francesco Montorsi
e10539a9f0 document that wxDialog::ShowModal() creates its own event loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 21:01:39 +00:00
Francesco Montorsi
a3fc1c9455 document internal wxDateTime enums the way they're meant to be documented in Doxygen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 21:00:57 +00:00
Francesco Montorsi
747199de1a do not duplicate large blocks of docs; use @overload instead; provide link to the standard strftime() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 20:35:07 +00:00
Francesco Montorsi
01a65e7c58 fix rendering of wxGrid on wxMSW when a dialog is over the grid.
To test the bug: open the "grid" sample and popup the about box, then move it over the grid; without this fix portions of wxGrid were painted as gray (disabled colour) even if the wxGrid itself was not disabled.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 17:21:46 +00:00
Francesco Montorsi
88c87a11a8 use wxRenderer::GetCheckBoxSize() instead of doing wrong calculations in wxGridCellBoolRenderer::GetBestSize; this fixes checkbox rendering under wxMSW (tested on wxMSW,wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 16:53:53 +00:00
Francesco Montorsi
92c32bbee7 deprecated GetCheckBoxSize(wxWindow *) in favour of GetCheckBoxSize() const (the window parameter was unused and not documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 16:46:49 +00:00
Francesco Montorsi
f8d0234d39 move wxGridCellRenderer::Draw before other derived classes implementations (no real change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 16:09:44 +00:00