| Version: 3.0.4

- Main Page
- Related Pages
- Categories
- Classes
- Files

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Deprecated List

Member wxApp::MacOpenFile (const wxString &fileName)
  This function is kept mostly for backwards compatibility. Please override wxApp::MacOpenFiles method instead in any new code.
Member wxArtProvider::Insert (wxArtProvider *provider)
  Use PushBack() instead.
Member wxCalendarCtrl::EnableYearChange (bool enable=true)
Member wxComboCtrl::GetTextIndent () const
  Use GetMargins() instead.
Member wxComboCtrl::HidePopup (bool generateEvent=false)
  Use Dismiss() instead.
Member wxComboCtrl::SetTextIndent (int indent)
  Use SetMargins() instead.
Member wxComboCtrl::ShowPopup ()
  Use Popup() instead.
Member wxDebugContext::GetLevel ()
  This is obsolete, replaced by wxLog functionality.
Member wxDebugContext::SetLevel (int level)
  This is obsolete, replaced by wxLog functionality.
Member wxDos2UnixFilename (wxChar *s)
  Construct a wxFileName with wxPATH_DOS and then use wxFileName::GetFullPath(wxPATH_UNIX) instead.
Member wxFileNameFromPath (const wxString &path)
  This function is obsolete, please use wxFileName::SplitPath() instead.
Member wxFindWindowByLabel (const wxString &label, wxWindow *parent=NULL)
  Replaced by wxWindow::FindWindowByLabel().
Member wxFindWindowByName (const wxString &name, wxWindow *parent=NULL)
  Replaced by wxWindow::FindWindowByName().
Member wxGetEmailAddress (char *buf, int sz)
  Use wxGetEmailAddress() instead.
Member wxGetHostName (char *buf, int sz)
  Use wxGetHostName() instead.
Member wxGetTempFileName (const wxString &prefix, char *buf=NULL)
  This function is obsolete, please use wxFileName::CreateTempFileName() instead.
Member wxGetUserId (char *buf, int sz)
  Use wxGetUserId() instead.
Member wxGetUserName (char *buf, int sz)
  Use wxGetUserName() instead.
Member wxGetWorkingDirectory (char *buf=NULL, int sz=1000)
  This function is deprecated, use wxGetCwd() instead.
Member wxGrid::SetCellValue (const wxString &val, int row, int col)
  Please use SetCellValue(int,int,const wxString&) or SetCellValue(const wxGridCellCoords&,const wxString&) instead.
Class wxHashTable
  Please note that this class is retained for backward compatibility reasons; you should use wxHashMap.
Member wxHelpControllerBase::DisplayBlock (long blockNo)=0
  This function is for backward compatibility only, and applications should use DisplaySection() instead.
Member wxHtmlTag::GetBeginPos () const
Member wxHtmlTag::GetEndPos1 () const
Member wxHtmlTag::GetEndPos2 () const
Member wxIconizeEvent::Iconized () const
  This function is deprecated in favour of IsIconized().
Member wxList< T >::Nth (int n) const
  This function is deprecated, use Item() instead.
Member wxList< T >::Number () const
  This function is deprecated, use wxList::GetCount instead. Returns the number of elements in the list.
Member wxLocale::Init (const wxString &name, const wxString &shortName=wxEmptyString, const wxString &locale=wxEmptyString, bool bLoadDefault=true)
  This form is deprecated, use the other one unless you know what you are doing.
Member wxLogTrace (wxTraceMask mask, const char *formatString,...)
  This version of wxLogTrace() only logs the message if all the bits corresponding to the mask are set in the wxLog trace mask which can be set by calling wxLog::SetTraceMask(). This version is less flexible than wxLogTrace(const char*,const char*,...) because it doesn't allow defining the user trace masks easily. This is why it is deprecated in favour of using string trace masks.
Member wxMBConv::MB2WC (wchar_t *out, const char *in, size_t outLen) const
  This function is deprecated, please use ToWChar() instead.
Member wxMBConv::WC2MB (char *buf, const wchar_t *psz, size_t n) const
  This function is deprecated, please use FromWChar() instead.
Member wxMenu::Append (int id, const wxString &item, wxMenu *subMenu, const wxString &helpString=wxEmptyString)
  This function is deprecated, use AppendSubMenu() instead.
Member wxMenuBar::GetLabelTop (size_t pos) const
  This function is deprecated in favour of GetMenuLabel() and GetMenuLabelText().
Member wxMenuBar::SetLabelTop (size_t pos, const wxString &label)
  This function has been deprecated in favour of SetMenuLabel().
Member wxMenuItem::GetLabel () const
  This function is deprecated in favour of GetItemLabelText().
Member wxMenuItem::GetLabelFromText (const wxString &text)
  This function is deprecated; please use GetLabelText() instead.
Member wxMenuItem::GetName () const
  This function is deprecated. Please use GetItemLabel() or GetItemLabelText() instead.
Member wxMenuItem::GetText () const
  This function is deprecated in favour of GetItemLabel().
Member wxMenuItem::SetText (const wxString &text)
  This function is deprecated in favour of SetItemLabel().
Member wxNewId ()
  Ids generated by it can conflict with the Ids defined by the user code, use `wxID_ANY` to assign ids which are guaranteed to not conflict with the user-defined ids for the controls and menu items you create instead of using this function.
Member wxPG_ATTR_INLINE_HELP
  Use "Hint" (wxPG_ATTR_HINT) instead.
Member wxPGProperty::AddChild (wxPGProperty *prop)
  Use AddPrivateChild() instead.
Member wxPGProperty::GetValueString (int argFlags=0) const
  Use GetValueAsString() instead.
Member wxPostDelete (wxObject *object)
  Replaced by wxWindow::Close(). See the window deletion overview.
Member wxPrintDialogData::SetSetupDialog (bool flag)
  This function has been deprecated since version 2.5.4.
Member wxShowEvent::GetShow () const
  This function is deprecated in favour of IsShown().
Member wxSizer::Remove (wxWindow *window)
  The overload of this method taking a wxWindow* parameter is deprecated as it does not destroy the window as would usually be expected from Remove(). You should use Detach() in new code instead. There is currently no wxSizer method that will both detach and destroy a wxWindow item.
Member wxSizer::SetVirtualSizeHints (wxWindow *window)
  This is exactly the same as FitInside() in wxWidgets 2.9 and later, please replace calls to it with FitInside().
Member wxSizerItem::SetSizer (wxSizer *sizer)
  This function does not free the old sizer which may result in memory leaks, use AssignSizer() which does free it instead.
Member wxSizerItem::SetSpacer (const wxSize &size)
  This function does not free the old spacer which may result in memory leaks, use AssignSpacer() which does free it instead.
Member wxSizerItem::SetWindow (wxWindow *window)
Member wxSocketBase::LastCount () const
  This function is kept mostly for backwards compatibility. Use LastReadCount() or LastWriteCount() instead. LastCount() is still needed for use with less commonly used functions: Discard(), Peek(), and Unread().
Member wxSplitPath (const wxString &fullname, wxString *path, wxString *name, wxString *ext)
  This function is obsolete, please use wxFileName::SplitPath() instead.
Member wxStreamBuffer::Stream ()
  use GetStream() instead
Member wxTextInputStream::ReadString ()
  Use ReadLine() or ReadWord() instead.
Member wxThreadHelper::Create (unsigned int stackSize=0)
  Use CreateThread() instead.
Member wxToolBar::OnRightClick (int toolId, long x, long y)
  This is the old way of detecting tool right clicks; although it will still work, you should use the EVT_TOOL_RCLICKED() macro instead.
Member wxTrace (const wxString &format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member WXTRACE (format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member WXTRACELEVEL (level, format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member wxTraceLevel (int level, const wxString &format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member wxUnix2DosFilename (wxChar *s)
  Construct a wxFileName with wxPATH_UNIX and then use wxFileName::GetFullPath(wxPATH_DOS) instead.
Member wxUsleep (unsigned long milliseconds)
  This function is deprecated because its name is misleading: notice that the argument is in milliseconds, not microseconds. Please use either wxMilliSleep() or wxMicroSleep() depending on the resolution you need.
Member wxWindow::SetInitialBestSize (const wxSize &size)
  Use SetInitialSize() instead.
Member wxWindow::SetPalette (const wxPalette &pal)
  use wxDC::SetPalette instead.
Member wxYield ()
  This function is kept only for backwards compatibility. Please use the wxAppConsole::Yield method instead in any new code.
Member wxZipInputStream::wxZipInputStream (const wxString &archive, const wxString &file)
  Compatibility constructor (requires WXWIN_COMPATIBILITY_2_6). When this constructor is used, an emulation of seeking is switched on for compatibility with previous versions. Note however, that it is deprecated.