From 1d98985358ffa0041664b1bd49b68c273d288a11 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Thu, 12 Jul 2007 21:24:26 +0000 Subject: [PATCH] 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 --- src/cocoa/window.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cocoa/window.mm b/src/cocoa/window.mm index d917dea43e..3343592ef3 100644 --- a/src/cocoa/window.mm +++ b/src/cocoa/window.mm @@ -857,12 +857,13 @@ void wxWindow::CocoaSetWxWindowSize(int width, int height) void wxWindow::SetLabel(const wxString& WXUNUSED(label)) { - // TODO + // Intentional no-op. } 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; }