mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Various MinGW compile fixes.
This commit is contained in:
@ -52,10 +52,10 @@ target_link_libraries(plResBrowser pnUtils)
|
||||
target_link_libraries(plResBrowser pnUUID)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(plResBrowser Rpcrt4)
|
||||
target_link_libraries(plResBrowser Version)
|
||||
target_link_libraries(plResBrowser Vfw32)
|
||||
target_link_libraries(plResBrowser Ws2_32)
|
||||
target_link_libraries(plResBrowser rpcrt4)
|
||||
target_link_libraries(plResBrowser version)
|
||||
target_link_libraries(plResBrowser vfw32)
|
||||
target_link_libraries(plResBrowser ws2_32)
|
||||
target_link_libraries(plResBrowser winmm)
|
||||
target_link_libraries(plResBrowser strmiids)
|
||||
target_link_libraries(plResBrowser comctl32)
|
||||
|
@ -86,7 +86,7 @@ void SetWindowTitle( HWND hWnd, char *path )
|
||||
SetWindowText( hWnd, fun );
|
||||
}
|
||||
|
||||
BOOL CALLBACK AboutDialogProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
INT_PTR CALLBACK AboutDialogProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
{
|
||||
if( msg == WM_COMMAND )
|
||||
EndDialog( hWnd, 0 );
|
||||
|
@ -55,7 +55,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include <commctrl.h>
|
||||
#include <shlwapi.h>
|
||||
#include "res\resource.h"
|
||||
#include "res/resource.h"
|
||||
|
||||
|
||||
extern HINSTANCE gInstance;
|
||||
@ -68,7 +68,7 @@ static HTREEITEM fFoundItem = nil;
|
||||
extern void ViewPatchDetails( plKey &patchKey );
|
||||
|
||||
|
||||
BOOL CALLBACK FindDialogProc( HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
INT_PTR CALLBACK FindDialogProc( HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
{
|
||||
switch( msg )
|
||||
{
|
||||
@ -305,7 +305,7 @@ void plResTreeView::FilterLoadables( bool filter, HWND treeCtrl )
|
||||
FillTreeViewFromRegistry( treeCtrl );
|
||||
}
|
||||
|
||||
BOOL CALLBACK plResTreeView::InfoDlgProc( HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
INT_PTR CALLBACK plResTreeView::InfoDlgProc( HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
{
|
||||
switch( msg )
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ class plResTreeView
|
||||
static void FillTreeViewFromRegistry( HWND hWnd );
|
||||
static void ClearTreeView( HWND hWnd );
|
||||
|
||||
static BOOL CALLBACK InfoDlgProc( HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam );
|
||||
static INT_PTR CALLBACK InfoDlgProc( HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam );
|
||||
|
||||
static void UpdateInfoDlg( HWND treeCtrl );
|
||||
|
||||
@ -72,4 +72,4 @@ class plResTreeView
|
||||
static void SaveSelectedObject(HWND treeCtrl);
|
||||
};
|
||||
|
||||
#endif //_plResTreeView_h
|
||||
#endif //_plResTreeView_h
|
||||
|
Reference in New Issue
Block a user