fix for [ 1020924 ] wx.Display.IsPrimary is wrong

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-11-07 00:48:37 +00:00
parent 4cd1ed991c
commit 24d2b4f5ba
3 changed files with 29 additions and 3 deletions

View File

@@ -67,8 +67,8 @@ public:
// name may be empty
virtual wxString GetName() const = 0;
// display 0 is always the primary display
bool IsPrimary() const { return m_index == 0; }
// display 0 is usually the primary display
virtual bool IsPrimary() const { return m_index == 0; }
// enumerate all video modes supported by this display matching the given