Remove hard TABs from the sources
Some of them sneaked through, notably during wxNotificationMessage refactoring.
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/timer.h"
|
#include "wx/timer.h"
|
||||||
#include "wx/sizer.h"
|
#include "wx/sizer.h"
|
||||||
#include "wx/statbmp.h"
|
#include "wx/statbmp.h"
|
||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
|
@@ -180,14 +180,14 @@ wxPoint wxCursor::GetHotSpot() const
|
|||||||
GdkPixbuf *pixbuf = gdk_cursor_get_image(GetCursor());
|
GdkPixbuf *pixbuf = gdk_cursor_get_image(GetCursor());
|
||||||
if (pixbuf)
|
if (pixbuf)
|
||||||
{
|
{
|
||||||
wxPoint hotSpot = wxDefaultPosition;
|
wxPoint hotSpot = wxDefaultPosition;
|
||||||
const gchar* opt_xhot = gdk_pixbuf_get_option(pixbuf, "x_hot");
|
const gchar* opt_xhot = gdk_pixbuf_get_option(pixbuf, "x_hot");
|
||||||
const gchar* opt_yhot = gdk_pixbuf_get_option(pixbuf, "y_hot");
|
const gchar* opt_yhot = gdk_pixbuf_get_option(pixbuf, "y_hot");
|
||||||
if (opt_xhot && opt_yhot)
|
if (opt_xhot && opt_yhot)
|
||||||
{
|
{
|
||||||
const int xhot = atoi(opt_xhot);
|
const int xhot = atoi(opt_xhot);
|
||||||
const int yhot = atoi(opt_yhot);
|
const int yhot = atoi(opt_yhot);
|
||||||
hotSpot = wxPoint(xhot, yhot);
|
hotSpot = wxPoint(xhot, yhot);
|
||||||
}
|
}
|
||||||
g_object_unref(pixbuf);
|
g_object_unref(pixbuf);
|
||||||
return hotSpot;
|
return hotSpot;
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: src/gtk/notifmsg.cpp
|
// Name: src/gtk/notifmsg.cpp
|
||||||
// Purpose: wxNotificationMessage for wxGTK using libnotify.
|
// Purpose: wxNotificationMessage for wxGTK using libnotify.
|
||||||
// Author: Vadim Zeitlin
|
// Author: Vadim Zeitlin
|
||||||
// Created: 2012-07-25
|
// Created: 2012-07-25
|
||||||
// Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
|
// Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
Reference in New Issue
Block a user