// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "statbr95.h"
#endif
int len = StatusBar_GetTextLen(GetHwnd(), nField);
if ( len > 0 )
{
- StatusBar_GetText(GetHwnd(), nField, str.GetWriteBuf(len));
- str.UngetWriteBuf();
+ StatusBar_GetText(GetHwnd(), nField, wxStringBuffer(str, len));
}
return str;
// omitted because for normal status bars (positioned along the bottom
// edge) the position is already set correctly, but if the user wants to
// position them in some exotic location, this is really needed
- wxWindow::DoMoveWindow(x, y, width, height);
+ wxWindowMSW::DoMoveWindow(x, y, width, height);
// adjust fields widths to the new size
SetFieldsWidth();