Ignore:
Timestamp:
10/03/2008 08:17:22 PM (4 years ago)
Author:
guyru
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MainFrame.cpp

    r169 r170  
    3333#include "highscores_dialog.h" 
    3434#include "About.h" 
    35 #include "UtilityFunctions.h" 
    3635#include "configuration.h" 
    3736#include "settings_dialog.h" 
     37#include "../config.h" 
    3838#include <iostream> 
    3939#include <sstream> 
     
    6868#endif 
    6969#define VER_DICE_SPACER 10 
    70  
    71 //default values - settings 
    72 #define DEF_HIGHSCORESIZE 20 
    73 #define OY_VERSION "1.8.0" 
    7470 
    7571const wxEventType wxEVT_ENABLE_ROLL = wxNewEventType(); 
     
    413409        wxString link = wxT("http://openyahtzee.sourceforge.net/download/check-for-updates/"); 
    414410         
    415         link += wxT(OY_VERSION); 
     411        link += wxT(VERSION); 
    416412 
    417413        wxLaunchDefaultBrowser(link); 
     
    13321328        delete m_config; 
    13331329        delete m_evt_handler; 
    1334 } 
     1330 
     1331        for (int i = 0; i<6; i++) { 
     1332                delete bitmap_dice[i]; 
     1333        } 
     1334} 
Note: See TracChangeset for help on using the changeset viewer.