remove unused function GetGdkVisual()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
06497cba66
commit
31f4ed4aa3
@ -64,10 +64,6 @@ public:
|
||||
// implementation only from now on
|
||||
// -------------------------------
|
||||
|
||||
// This returns the current visual: either that used by wxRootWindow
|
||||
// or the XVisualInfo* for SGI.
|
||||
GdkVisual *GetGdkVisual();
|
||||
|
||||
// check for pending events, without interference from our idle source
|
||||
bool EventsPending();
|
||||
bool DoIdle();
|
||||
|
@ -277,21 +277,6 @@ bool wxApp::OnInitGui()
|
||||
return true;
|
||||
}
|
||||
|
||||
GdkVisual *wxApp::GetGdkVisual()
|
||||
{
|
||||
GdkVisual *visual = NULL;
|
||||
|
||||
XVisualInfo *xvi = (XVisualInfo *)GetXVisualInfo();
|
||||
if ( xvi )
|
||||
visual = gdkx_visual_get( xvi->visualid );
|
||||
else
|
||||
visual = gdk_drawable_get_visual( wxGetRootWindow()->window );
|
||||
|
||||
wxASSERT( visual );
|
||||
|
||||
return visual;
|
||||
}
|
||||
|
||||
// use unusual names for the parameters to avoid conflict with wxApp::arg[cv]
|
||||
bool wxApp::Initialize(int& argc_, wxChar **argv_)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user