oh, better interface to GetDisplayMode (Vadim was right; previous commit was by accident)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,7 +61,7 @@ static const int wxPRINT_POSTSCRIPT = 2;
|
|||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
// VS: Fullscreen/framebuffer application needs to choose display mode prior
|
// VS: Fullscreen/framebuffer application needs to choose display mode prior
|
||||||
// to wxWindows initialization. This class holds information about display
|
// to wxWindows initialization. This class holds information about display
|
||||||
// mode. An instance of it is returned by virtual wxApp::GetDisplayMode.
|
// mode. It is used by wxApp::Set/GetDisplayMode.
|
||||||
class WXDLLEXPORT wxDisplayModeInfo
|
class WXDLLEXPORT wxDisplayModeInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -279,10 +279,12 @@ public:
|
|||||||
// wxICON_XXX values
|
// wxICON_XXX values
|
||||||
virtual wxIcon GetStdIcon(int which) const = 0;
|
virtual wxIcon GetStdIcon(int which) const = 0;
|
||||||
|
|
||||||
// get display mode to use. This is only used in framebuffer wxWin ports
|
// Get display mode that is used use. This is only used in framebuffer wxWin ports
|
||||||
// (such as wxMGL). This method is called early in wxWin initialization
|
// (such as wxMGL).
|
||||||
// process and is supposed to be overriden in derived classes.
|
|
||||||
virtual wxDisplayModeInfo GetDisplayMode() const { return wxDisplayModeInfo(); }
|
virtual wxDisplayModeInfo GetDisplayMode() const { return wxDisplayModeInfo(); }
|
||||||
|
// Set display mode to use. This is only used in framebuffer wxWin ports
|
||||||
|
// (such as wxMGL). This method should be called from wxApp:OnInitGui
|
||||||
|
virtual bool SetDisplayMode(const wxDisplayModeInfo& WXUNUSED(info)) { return TRUE; }
|
||||||
|
|
||||||
// VZ: what does this do exactly?
|
// VZ: what does this do exactly?
|
||||||
void SetWantDebugOutput( bool flag ) { m_wantDebugOutput = flag; }
|
void SetWantDebugOutput( bool flag ) { m_wantDebugOutput = flag; }
|
||||||
|
Reference in New Issue
Block a user