Merged slightly-modified r45749 from trunk (Note: CVS):

Add comments and a debugging aid to Get/SetLabel implementations which are intentional no-ops for wxCocoa.
Copyright Software 2000 Ltd.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-07-12 21:24:26 +00:00
parent 8933152887
commit 1d98985358

View File

@@ -857,12 +857,13 @@ void wxWindow::CocoaSetWxWindowSize(int width, int height)
void wxWindow::SetLabel(const wxString& WXUNUSED(label)) void wxWindow::SetLabel(const wxString& WXUNUSED(label))
{ {
// TODO // Intentional no-op.
} }
wxString wxWindow::GetLabel() const wxString wxWindow::GetLabel() const
{ {
// TODO // General Get/Set of labels is NOT implemented in wxControlBase until trunk (2.9).
wxLogDebug(wxT("wxWindow::GetLabel: Should be overridden if needed."));
return wxEmptyString; return wxEmptyString;
} }