In DialogEd, changed Close to Destroy to make it shut down properly.
Various Motif fixes incl. fixing window colours, menu fonts/colours, dialog box git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -369,9 +369,9 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) :
|
||||
panel = new wxPanel(m_notebook);
|
||||
panel->SetBackgroundColour("cadet blue");
|
||||
panel->SetForegroundColour("blue");
|
||||
m_radio = new wxRadioBox( panel, ID_RADIOBOX, "That", wxPoint(10,160), wxSize(-1,-1), 2, choices2, 1, wxRA_VERTICAL );
|
||||
m_radio = new wxRadioBox( panel, ID_RADIOBOX, "That", wxPoint(10,160), wxSize(-1,-1), 2, choices2, 1, wxRA_SPECIFY_ROWS );
|
||||
m_radio->SetBackgroundColour("wheat");
|
||||
m_radio = new wxRadioBox( panel, ID_RADIOBOX, "This", wxPoint(10,10), wxSize(-1,-1), 5, choices, 1, wxRA_HORIZONTAL );
|
||||
m_radio = new wxRadioBox( panel, ID_RADIOBOX, "This", wxPoint(10,10), wxSize(-1,-1), 5, choices, 1, wxRA_SPECIFY_COLS );
|
||||
m_radio->SetBackgroundColour("wheat");
|
||||
(void)new wxButton( panel, ID_RADIOBOX_SEL_NUM, "Select #2", wxPoint(180,30), wxSize(140,30) );
|
||||
(void)new wxButton( panel, ID_RADIOBOX_SEL_STR, "Select 'This'", wxPoint(180,80), wxSize(140,30) );
|
||||
|
78
samples/makefile.unx
Normal file
78
samples/makefile.unx
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# Makefile : Builds wxWindows utils for Unix.
|
||||
|
||||
# Replace this with your own path if necessary
|
||||
WXDIR = ..
|
||||
|
||||
# All common UNIX compiler flags and options are now in
|
||||
# this central makefile.
|
||||
include $(WXDIR)/src/make.env
|
||||
|
||||
TARGET=motif
|
||||
|
||||
# Change these if needed.
|
||||
|
||||
THISDIR = $(WXDIR)/samples
|
||||
|
||||
all:
|
||||
cd config; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd controls; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd dialogs; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd dnd; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd docview; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd docvwmdi; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd dynamic; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd grid; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd help; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd image; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd internat; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd layout; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd memcheck; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd minifram; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd minimal; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd nativdlg; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd notebook; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd printing; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd resource; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd sashtest; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd splitter; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd tab; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd thread; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd toolbar; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd typetest; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd validate; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd treectrl; $(MAKE) -f makefile.unx $(TARGET)
|
||||
cd wxpoem; $(MAKE) -f makefile.unx $(TARGET)
|
||||
|
||||
clean:
|
||||
cd config; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd controls; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd dialogs; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd dnd; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd docview; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd docvwmdi; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd dynamic; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd grid; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd help; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd image; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd internat; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd layout; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd memcheck; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd minifram; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd minimal; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd nativdlg; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd notebook; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd printing; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd resource; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd sashtest; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd splitter; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd tab; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd thread; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd toolbar; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd typetest; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd validate; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd treectrl; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
cd wxpoem; $(MAKE) -f makefile.unx clean$(TARGET)
|
||||
|
||||
cleanmotif: clean
|
||||
motif: all
|
Reference in New Issue
Block a user