Removed no longer needed desktop size hack

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-11-06 23:05:38 +00:00
parent 676c8c1d39
commit ef26a5c409
2 changed files with 2 additions and 8 deletions

View File

@@ -18,7 +18,6 @@
#include "wx/log.h"
#endif
#include "wx/sysopt.h"
#include "wx/apptrait.h"
#include "wx/process.h"
#include "wx/sysopt.h"
@@ -143,11 +142,8 @@ void *wxGetDisplay()
void wxDisplaySize( int *width, int *height )
{
int marginX = wxSystemOptions::GetOptionInt(wxT("gtk.desktopmargin.x"));
int marginY = wxSystemOptions::GetOptionInt(wxT("gtk.desktopmargin.y"));
if (width) *width = gdk_screen_width() - marginX;
if (height) *height = gdk_screen_height() - marginY;
if (width) *width = gdk_screen_width();
if (height) *height = gdk_screen_height();
}
void wxDisplaySizeMM( int *width, int *height )