wxWidgets.git
12 years agoIf WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This...
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

12 years agoDon't crash in wxImage::SaveFile() if MIME type is not recognized.
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

12 years agoMinor fixes to wxDateTime documentation.
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

12 years agoNo changes, just simplify some code in wxX11.
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

12 years agoNo changes, just remove a redundant wxGROW.
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

12 years agoRemove documentation of inexistent wxEvtHandler::TryThis().
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

12 years agoAllow handling EVT_UPDATE_UI for wxID_UNDO/REDO at wxDocument level.
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

12 years agoDocument wxNotificationMessage::Timeout_XXX values.
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

12 years agoFix typos in wxRibbonButtonBar documentation.
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

12 years agoMinor documentation fixes to wxHelpController.
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

12 years agoAdd skeleton documentation for wxMessageDialog::ButtonLabel.
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

12 years agoFix wxRichTextBuffer::InsertParagraphsWithUndo() documentation.
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

12 years agoAdd @onlyfor tag to wxToolBar::SetBitmapResource() documentation.
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

12 years agoAdd @onlyfor tags for Unix-specific wxStandardPaths methods.
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

12 years agoAdd @onlyfor tag for wxSound::IsPlaying() documentation.
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

12 years agoMake wxSingleChoiceDialog::GetSelectionData() const.
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

12 years agoFix wrong spelling of wxRegKey::HasSubkeys() in the documentation.
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

12 years agoRemove inexistent wxPropertySheetDialog::SetInnerSizer() from documentation.
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

12 years agoSynchronize wxPropertyGridManager documentation with the real API.
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

12 years agoSynchronize wxPropertyGrid documentation with the real API.
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

12 years agoDon't initialize wxFileDialog::m_filterIndex to 1 in wxMotif.
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

12 years agoUse wxPageSetupDialogData instead of old wxPageSetupData everywhere.
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

12 years agoRemove wxDialog::OnSysColourChanged() documentation.
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

12 years agoRemoved unnecessary newlines.
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

12 years agoMinor fixes
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

12 years agoCorrected missing angled bracket
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

12 years agoAdded wxEVT_WIZARD_BEFORE_PAGE_CHANGED event to allow the application to influence
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

12 years agoFix unit test French locate checks for glibc >= 2.8.
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

12 years agoDon't apply svn commit hook checks to 2.8 branch.
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

12 years agoDon't exclude message catalog files from UTF-8 checks in svn hook.
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

12 years agoSpelling fixed for comments and a wxASSERT_MSG. Fixes #14022.
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

12 years agoFixed spelling errors, fixes #14021.
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

12 years agoSpelling fixes to comments, fixes #13994.
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

12 years agoFixed miss-spelling in output messages (enviroment -> environment,
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

12 years agoUpdate the main translation template and all the message catalogs.
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

12 years agoRemove duplicate "About" entries from message catalogs.
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

12 years agoRemoved OnSelect
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

12 years agoFixed name of GetCombinedStyleForLevel
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

12 years agoApplied #14000 (wxRichTextXMLHandler interface fixes)
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

12 years agomodification to fix in r70597, has-window check is unnecessary and perhaps incorrect
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

12 years agoAdd forward declarations to fix wx/propgrid/editors.h compilation.
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

12 years agoRemove wrong "const" from wxPosition::operator{+,-}=() documentation.
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

12 years agoFix the name of wxPersistentTreeBookCtrl in the documentation.
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

12 years agoRemove non-existent wxPGChoices methods from the documentation.
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

12 years agoFix typo in wxOwnerDrawnComboBox ctor documentation.
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

12 years agoFix typo in wxMultiChoiceDialog::GetSelections() name in the documentation.
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

12 years agoMark Mac-specific wxMenuBar methods with @onlyfor{wxosx}.
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

12 years agoDocument the default size of new wxMemoryBuffer correctly.
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

12 years agoFix wxMediaCtrl::GetPlaybackRate() method name in the documentation.
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

12 years agoDocument wxConvFileName variable, not wxMBConvFile class.
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

12 years agoAdded wxFileName::Exists().
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

12 years agoRefactor wxFileName existence checking code.
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

12 years agoExplicitly document that hidden windows get wxEVT_IDLE events.
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

12 years agoavoid sending mouse events to the wrong window, fixes #2917
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

12 years agoDocument wxLogGui::DoShow{Single,Multiple}LogMessage() as private.
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

12 years agoDon't document wxListCtrl::SetColumnsOrder() as being const.
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

12 years agoClean up wxListBox documentation.
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

12 years agoMake documentation of wxIcon::ConvertToDisabled() more explicit.
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

12 years agoDocument wxFTP::TransferMode enum in the correct scope.
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

12 years agoDocument wxGB{Position,Size}::operator!=(), remove operator!().
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

12 years agoRemove documentation of non-existent wxFontMapper::SetConfig().
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

12 years agoDocument Mac-only wxFileName methods as being Mac-only.
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

12 years agoDocument wxFileType::MessageParameters class.
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

12 years agoFix wrong type of wild card parameter in wxFileCtrl documentation.
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

12 years agoMake wxDragImage ctors taking hot spot point really deprecated in wxMSW.
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

12 years agoDocument wxDocManager::CreatePreviewFrame() as being protected, not public.
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

12 years agoDon't document private event handlers in doc/view frame classes.
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

12 years agoMention __WIN64__ in the preprocessor defines documentation.
Vadim Zeitlin [Tue, 14 Feb 2012 23:14:53 +0000 (23:14 +0000)] 
Mention __WIN64__ in the preprocessor defines documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove the mention of non-existing wxPrintf_l() from the documentation.
Vadim Zeitlin [Tue, 14 Feb 2012 23:09:33 +0000 (23:09 +0000)] 
Remove the mention of non-existing wxPrintf_l() from the documentation.

This function doesn't exist (yet), so don't advise people to use it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadding missing initializer to raw_control, fixes #13963
Stefan Csomor [Mon, 13 Feb 2012 15:23:33 +0000 (15:23 +0000)] 
adding missing initializer to raw_control, fixes #13963

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadapting comparison to raw_control, see #13963
Stefan Csomor [Mon, 13 Feb 2012 15:22:04 +0000 (15:22 +0000)] 
adapting comparison to raw_control, see #13963

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't document deprecated wxComboCtrl::SetValueWithEvent().
Vadim Zeitlin [Sun, 12 Feb 2012 22:19:07 +0000 (22:19 +0000)] 
Don't document deprecated wxComboCtrl::SetValueWithEvent().

This method shouldn't be used at all, either SetValue() or ChangeValue()
should be used instead, so don't document it.

Closes #13961.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement wxDV_ROW_LINES for generic wxDataViewCtrl.
Vadim Zeitlin [Sun, 12 Feb 2012 22:19:04 +0000 (22:19 +0000)] 
Implement wxDV_ROW_LINES for generic wxDataViewCtrl.

Provide wxDataViewCtrl::SetAlternateRowColour() to specify the colour to use
for odd rows explicitly but determine it automatically from the background
colour if no explicit colour was specified.

Closes #12834.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't use deprecated wxDataViewCtrl::StartEditor() in the sample.
Vadim Zeitlin [Sun, 12 Feb 2012 22:18:59 +0000 (22:18 +0000)] 
Don't use deprecated wxDataViewCtrl::StartEditor() in the sample.

Also document this deprecation in the change log and explain how to update the
existing code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove some wxPython-only methods that were accidentally added to the interface file
Robin Dunn [Sat, 11 Feb 2012 20:32:32 +0000 (20:32 +0000)] 
remove some wxPython-only methods that were accidentally added to the interface file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove wxGraphicsContext dependency for transparent background support
Paul Cornett [Sat, 11 Feb 2012 19:39:23 +0000 (19:39 +0000)] 
remove wxGraphicsContext dependency for transparent background support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument wxDateTime::GregorianAdoption enum and TimeZone class.
Vadim Zeitlin [Sat, 11 Feb 2012 18:36:44 +0000 (18:36 +0000)] 
Document wxDateTime::GregorianAdoption enum and TimeZone class.

These types are referenced by the other documented functions so should be
documented themselves.

Closes #13959.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix "wxEmptyStr" typo in wxChoicebook and wxToolbook documentation.
Vadim Zeitlin [Sat, 11 Feb 2012 18:36:41 +0000 (18:36 +0000)] 
Fix "wxEmptyStr" typo in wxChoicebook and wxToolbook documentation.

It should be "wxEmptyString".

Closes #13955.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement wxBG_STYLE_TRANSPARENT support for wxGTK.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:52 +0000 (16:26 +0000)] 
Implement wxBG_STYLE_TRANSPARENT support for wxGTK.

Use composited windows if supported by GTK+ for wxWindows with this background
style.

Also add wxWindow::IsTransparentBackgroundSupported() and show how to use it
in the sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate marks in non-current months shown in wxMSW wxCalendarCtrl.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:47 +0000 (16:26 +0000)] 
Update marks in non-current months shown in wxMSW wxCalendarCtrl.

Native wxMSW calendar control can show more than just the current month. When
other months are shown, ensure that they don't have marks for the days marked
in the current month as this doesn't make sense.

See #13934.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoSet marks used in wxMSW wxCalendarCtrl unconditionally.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:41 +0000 (16:26 +0000)] 
Set marks used in wxMSW wxCalendarCtrl unconditionally.

This fixes wrong display (random days could have been shown marked) when not
using wxCAL_SHOW_HOLIDAYS style. Apparently we need to set the marks
unconditionally as they are not turned off by default, so ensure we call
UpdateMarks() even without wxCAL_SHOW_HOLIDAYS.

See #13934.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAlso add wxNativeFontInfo::SetStrikethrough() stub for wxGTK2.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:39 +0000 (16:26 +0000)] 
Also add wxNativeFontInfo::SetStrikethrough() stub for wxGTK2.

This should have been done in r70563 which added the stub to wxGTK1 part only.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded a test for wxUSE_DATAOBJ to wxDFB which doesn't support it.
Vadim Zeitlin [Fri, 10 Feb 2012 23:34:49 +0000 (23:34 +0000)] 
Added a test for wxUSE_DATAOBJ to wxDFB which doesn't support it.

This is just one of many, many things not supported by wxDFB but check for at
least this one as it prevents even the precompiled header from being created.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix compilation ofr ports without native font info, such as wxDFB.
Vadim Zeitlin [Fri, 10 Feb 2012 23:34:45 +0000 (23:34 +0000)] 
Fix compilation ofr ports without native font info, such as wxDFB.

Don't use wxString::ToLong() with short variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd stubs for wxNativeFontInfo::{Get,Set}Strikethrough() to wxGTK.
Vadim Zeitlin [Fri, 10 Feb 2012 23:34:42 +0000 (23:34 +0000)] 
Add stubs for wxNativeFontInfo::{Get,Set}Strikethrough() to wxGTK.

These functions are not implemented currently (just as their
{Get,Set}Underlined() counterparts) but should still be defined to allow the
code using wxNativeFontInfo to link.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't include the terminating NUL
Robin Dunn [Fri, 10 Feb 2012 18:30:13 +0000 (18:30 +0000)] 
Don't include the terminating NUL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
Vadim Zeitlin [Fri, 10 Feb 2012 10:22:45 +0000 (10:22 +0000)] 
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.

Fully qualify the hasher and comparator classes used with
WX_DECLARE_HASH_{SET,MAP} macros as they're used as base classes by the
standard library implementation in g++ 4.7 and using them without the scope
operator results in compilation errors because they're interpreted as being
(inaccessible) base classes and not the global ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument MSW-only wxEVT_MOVING event.
Vadim Zeitlin [Thu, 9 Feb 2012 16:22:04 +0000 (16:22 +0000)] 
Document MSW-only wxEVT_MOVING event.

As we documented EVT_MOVE_{START,END}, we should do it for this one as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix typo in wxSlider XRC format documentation.
Vadim Zeitlin [Thu, 9 Feb 2012 13:24:43 +0000 (13:24 +0000)] 
Fix typo in wxSlider XRC format documentation.

"pagesize" was documented as line size, fix this.

Closes #13949.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wrong signature of wxBitmap(bits) ctor in the documentation.
Vadim Zeitlin [Wed, 8 Feb 2012 23:45:32 +0000 (23:45 +0000)] 
Fix wrong signature of wxBitmap(bits) ctor in the documentation.

This ctor takes just a "char* bits" (spelt as "char bits[]" for some reason),
not "char* bits[]".

Closes #13947.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRestrict button size restrictions documentation to OSX/Carbon only.
Vadim Zeitlin [Wed, 8 Feb 2012 12:59:20 +0000 (12:59 +0000)] 
Restrict button size restrictions documentation to OSX/Carbon only.

OSX/Cocoa doesn't have these restrictions.

Closes #13122.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument that wxStandardPaths::GetUserConfigDir() doesn't use app info.
Vadim Zeitlin [Wed, 8 Feb 2012 02:09:58 +0000 (02:09 +0000)] 
Document that wxStandardPaths::GetUserConfigDir() doesn't use app info.

Explicitly mention this instead of just relying on the examples to convey it.

Closes #11275.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse wxSTC_INVALID_POSITION in wxStyledTextCtrl documentation.
Vadim Zeitlin [Wed, 8 Feb 2012 02:09:55 +0000 (02:09 +0000)] 
Use wxSTC_INVALID_POSITION in wxStyledTextCtrl documentation.

Comments -- copied from the generated header file -- used INVALID_POSITION
which is not actually defined, replace it with wxSTC_INVALID_POSITION that is
defined.

Closes #11454.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument wxAUI_NB_MIDDLE_CLICK_CLOSE.
Vadim Zeitlin [Wed, 8 Feb 2012 02:09:51 +0000 (02:09 +0000)] 
Document wxAUI_NB_MIDDLE_CLICK_CLOSE.

Also mention that it's part of wxAUI_NB_DEFAULT_STYLE.

Closes #13382.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterface fixes changing fiction into truth.
Robin Dunn [Wed, 8 Feb 2012 00:22:21 +0000 (00:22 +0000)] 
Interface fixes changing fiction into truth.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFollowing the theory that something lame is better than nothing at all, provide a...
Robin Dunn [Wed, 8 Feb 2012 00:20:38 +0000 (00:20 +0000)] 
Following the theory that something lame is better than nothing at all, provide a very generic implementation of the ctor wxRegion::wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle) by drawing the polygon into a bitmap and using that to create the region.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd an empty implementation of the OSXGenerateEvent() pure virtual so the generic...
Robin Dunn [Wed, 8 Feb 2012 00:16:59 +0000 (00:16 +0000)] 
Add an empty implementation of the OSXGenerateEvent() pure virtual so the generic date picker ctrl can be used in the cocoa build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't assume that XCode is in /Developer. Use "xcode-select -print-path" instead.
Robin Dunn [Tue, 7 Feb 2012 23:57:00 +0000 (23:57 +0000)] 
Don't assume that XCode is in /Developer.  Use "xcode-select -print-path" instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agouse buf.length() instead of strlen()
Robin Dunn [Tue, 7 Feb 2012 23:55:50 +0000 (23:55 +0000)] 
use buf.length() instead of strlen()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd length parameter to AddTextRaw and AppendTextRaw. Closes #1358
Robin Dunn [Tue, 7 Feb 2012 23:55:07 +0000 (23:55 +0000)] 
Add length parameter to AddTextRaw and AppendTextRaw. Closes #1358

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775