Skip to content

Commit

Permalink
gui: correct handling of closebmp.bmp resource
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed May 28, 2024
1 parent c138153 commit c9a8ffb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions bld/gui/h/gui.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/* UTF-8 encoding, ¥ */

#ifdef RESX_GUI
#ifndef __OS2__
CLOSEBMP BITMAP "closebmp.bmp"
#endif
#endif

STRINGTABLE
BEGIN
#define pick(c,e,j) (GUI_LITERAL_##c + RLE_ENGLISH * MSG_LANG_SPACING), [ e ]
Expand Down
2 changes: 0 additions & 2 deletions bld/gui/sample/h/sample.rh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,5 @@
#define MAIN 1038
#define DLG 1039

#define CLOSEBMP 1040

#define STRMSG1 10001
#define STRMSG2 10002
2 changes: 0 additions & 2 deletions bld/gui/sample/res/sample.rc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ END

#ifdef RESX_GUI

RC_ITEM( BITMAP, CLOSEBMP, "closebmp.bmp" )

RC_ITEM( BITMAP, MINIMIZE, "min.bmp" )
RC_ITEM( BITMAP, MAXIMIZE, "max.bmp" )
RC_ITEM( BITMAP, RESTORE, "restore.bmp" )
Expand Down
1 change: 0 additions & 1 deletion bld/wv/master.mif
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ bitmaps_win = &
bitmaps = &
$(bitmaps_$(target_$(host_os))) &
../../res/splash.bmp &
../../res/closebmp.bmp &
../../res/read1.bmp &
../../res/read2.bmp &
../../res/write1.bmp &
Expand Down
Binary file removed bld/wv/res/closebmp.bmp
Binary file not shown.

0 comments on commit c9a8ffb

Please sign in to comment.