wxEvent::wxEvent(int theId)
{
- m_eventType = 0;
+ m_eventType = wxEVT_NULL;
m_eventObject = NULL;
m_eventHandle = NULL;
m_timeStamp = 0;
*
*/
-wxCommandEvent::wxCommandEvent(WXTYPE commandType, int theId)
+wxCommandEvent::wxCommandEvent(wxEventType commandType, int theId)
{
m_eventType = commandType;
m_clientData = NULL;
* Scroll events
*/
-wxScrollEvent::wxScrollEvent(WXTYPE commandType, int id, int pos, int orient):
+wxScrollEvent::wxScrollEvent(wxEventType commandType, int id, int pos, int orient):
wxCommandEvent(commandType, id)
{
m_extraLong = orient;
*
*/
-wxMouseEvent::wxMouseEvent(WXTYPE commandType)
+wxMouseEvent::wxMouseEvent(wxEventType commandType)
{
m_eventType = commandType;
m_metaDown = FALSE;
*
*/
-wxKeyEvent::wxKeyEvent(WXTYPE type)
+wxKeyEvent::wxKeyEvent(wxEventType type)
{
m_eventType = type;
m_shiftDown = FALSE;
OnListNotify( le );
};
-void wxListMainWindow::SendNotify( wxListLineData *line, long command )
+void wxListMainWindow::SendNotify( wxListLineData *line, wxEventType command )
{
if (!m_parent) return;
wxListEvent le( command, m_parent->GetId() );
IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent,wxCommandEvent)
-wxTreeEvent::wxTreeEvent( WXTYPE commandType, int id ) :
+wxTreeEvent::wxTreeEvent( wxEventType commandType, int id ) :
wxCommandEvent( commandType, id )
{
m_code = 0;
void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), gpointer data )
{
wxFileDialog *dialog = (wxFileDialog*)data;
- wxCommandEvent event(0);
+ wxCommandEvent event(wxEVT_NULL);
dialog->OnOk( event );
};
void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(widget), gpointer data )
{
wxFileDialog *dialog = (wxFileDialog*)data;
- wxCommandEvent event(0);
+ wxCommandEvent event(wxEVT_NULL);
dialog->OnCancel( event );
};
float diff = win->m_adjust->value - win->m_oldPos;
if (fabs(diff) < 0.2) return;
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_adjust->step_increment;
float page_step = win->m_adjust->page_increment;
float diff = win->m_adjust->value - win->m_oldPos;
if (fabs(diff) < 0.2) return;
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_adjust->step_increment;
float page_step = win->m_adjust->page_increment;
printf( ".\n" );
*/
- WXTYPE event_type = wxEVT_LEFT_DOWN;
+ wxEventType event_type = wxEVT_LEFT_DOWN;
if (gdk_event->button == 1)
{
printf( ".\n" );
*/
- WXTYPE event_type = 0;
+ wxEventType event_type = wxEVT_NULL;
switch (gdk_event->button)
{
printf( "Sending new value: %d.\n", i );
*/
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_vAdjust->step_increment;
float page_step = win->m_vAdjust->page_increment;
printf( "Sending new value: %d.\n", i );
*/
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_hAdjust->step_increment;
float page_step = win->m_hAdjust->page_increment;
if (!win->HasVMT()) return;
- int command = wxEVT_SCROLL_THUMBTRACK;
+ wxEventType command = wxEVT_SCROLL_THUMBTRACK;
int value = (int)(win->m_vAdjust->value+0.5);
wxScrollEvent event( command, win->GetId(), value, wxVERTICAL );
if (!win->HasVMT()) return;
- int command = wxEVT_SCROLL_THUMBTRACK;
+ wxEventType command = wxEVT_SCROLL_THUMBTRACK;
int value = (int)(win->m_hAdjust->value+0.5);
wxScrollEvent event( command, win->GetId(), value, wxHORIZONTAL );
void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), gpointer data )
{
wxFileDialog *dialog = (wxFileDialog*)data;
- wxCommandEvent event(0);
+ wxCommandEvent event(wxEVT_NULL);
dialog->OnOk( event );
};
void gtk_filedialog_cancel_callback( GtkWidget *WXUNUSED(widget), gpointer data )
{
wxFileDialog *dialog = (wxFileDialog*)data;
- wxCommandEvent event(0);
+ wxCommandEvent event(wxEVT_NULL);
dialog->OnCancel( event );
};
float diff = win->m_adjust->value - win->m_oldPos;
if (fabs(diff) < 0.2) return;
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_adjust->step_increment;
float page_step = win->m_adjust->page_increment;
float diff = win->m_adjust->value - win->m_oldPos;
if (fabs(diff) < 0.2) return;
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_adjust->step_increment;
float page_step = win->m_adjust->page_increment;
printf( ".\n" );
*/
- WXTYPE event_type = wxEVT_LEFT_DOWN;
+ wxEventType event_type = wxEVT_LEFT_DOWN;
if (gdk_event->button == 1)
{
printf( ".\n" );
*/
- WXTYPE event_type = 0;
+ wxEventType event_type = wxEVT_NULL;
switch (gdk_event->button)
{
printf( "Sending new value: %d.\n", i );
*/
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_vAdjust->step_increment;
float page_step = win->m_vAdjust->page_increment;
printf( "Sending new value: %d.\n", i );
*/
- int command = 0;
+ wxEventType command = wxEVT_NULL;
float line_step = win->m_hAdjust->step_increment;
float page_step = win->m_hAdjust->page_increment;
if (!win->HasVMT()) return;
- int command = wxEVT_SCROLL_THUMBTRACK;
+ wxEventType command = wxEVT_SCROLL_THUMBTRACK;
int value = (int)(win->m_vAdjust->value+0.5);
wxScrollEvent event( command, win->GetId(), value, wxVERTICAL );
if (!win->HasVMT()) return;
- int command = wxEVT_SCROLL_THUMBTRACK;
+ wxEventType command = wxEVT_SCROLL_THUMBTRACK;
int value = (int)(win->m_hAdjust->value+0.5);
wxScrollEvent event( command, win->GetId(), value, wxHORIZONTAL );
bool wxControl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
{
#if defined(__WIN95__)
- wxCommandEvent event(0, m_windowId);
- int eventType = 0;
+ wxCommandEvent event(wxEVT_NULL, m_windowId);
+ wxEventType eventType = wxEVT_NULL;
NMHDR *hdr1 = (NMHDR*) lParam;
switch ( hdr1->code )
{
bool wxListCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
{
- wxListEvent event(0, m_windowId);
- int eventType = 0;
+ wxListEvent event(wxEVT_NULL, m_windowId);
+ wxEventType eventType = wxEVT_NULL;
NMHDR *hdr1 = (NMHDR *) lParam;
switch ( hdr1->code )
{
// List event
IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxCommandEvent)
-wxListEvent::wxListEvent(WXTYPE commandType, int id):
+wxListEvent::wxListEvent(wxEventType commandType, int id):
wxCommandEvent(commandType, id)
{
m_code = 0;
maxPos -= (m_pageSize - 1);
#endif
- int scrollEvent = 0;
+ wxEventType scrollEvent = wxEVT_NULL;
int nScrollInc;
switch ( wParam )
// Backward compatibility
void wxScrollBar::OnScroll(wxScrollEvent& event)
{
- int oldEvent = event.GetEventType();
+ wxEventType oldEvent = event.GetEventType();
event.SetEventType( wxEVT_COMMAND_SCROLLBAR_UPDATED );
if ( !GetEventHandler()->ProcessEvent(event) )
{
#endif
int nScrollInc;
- int scrollEvent = 0;
+ wxEventType scrollEvent = wxEVT_NULL;
switch ( wParam )
{
case SB_TOP:
// Backward compatibility
void wxSlider::OnScroll(wxScrollEvent& event)
{
- int oldEvent = event.GetEventType();
+ wxEventType oldEvent = event.GetEventType();
event.SetEventType( wxEVT_COMMAND_SLIDER_UPDATED );
if ( !GetEventHandler()->ProcessEvent(event) )
{
{
if (control)
{
- wxSpinEvent event(0, m_windowId);
+ wxSpinEvent event(wxEVT_NULL, m_windowId);
event.SetPosition(pos);
event.SetOrientation(wxVERTICAL);
event.SetEventObject( this );
{
if (control)
{
- wxSpinEvent event(0, m_windowId);
+ wxSpinEvent event(wxEVT_NULL, m_windowId);
event.SetPosition(pos);
event.SetOrientation(wxHORIZONTAL);
event.SetEventObject( this );
// Spin event
IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent)
-wxSpinEvent::wxSpinEvent(WXTYPE commandType, int id):
+wxSpinEvent::wxSpinEvent(wxEventType commandType, int id):
wxScrollEvent(commandType, id)
{
}
bool wxTabCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
{
- wxTabEvent event(0, m_windowId);
- int eventType = 0;
+ wxTabEvent event(wxEVT_NULL, m_windowId);
+ wxEventType eventType = wxEVT_NULL;
NMHDR* hdr1 = (NMHDR*) lParam;
switch ( hdr1->code )
{
// Tab event
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxCommandEvent)
-wxTabEvent::wxTabEvent(WXTYPE commandType, int id):
+wxTabEvent::wxTabEvent(wxEventType commandType, int id):
wxCommandEvent(commandType, id)
{
}
break;
}
*/
- WXTYPE eventTyp = 0;
+ wxEventType eventTyp = wxEVT_NULL;
switch (param)
{
case EN_SETFOCUS:
m_windowId = (id == -1) ? NewControlId() : id;
- DWORD wstyle = WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_LINESATROOT;
+ DWORD wstyle = WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES;
bool want3D;
WXDWORD exStyle = Determine3DEffects(WS_EX_CLIENTEDGE, &want3D) ;
wstyle |= WS_BORDER;
if ( m_windowStyle & wxTR_HAS_BUTTONS )
- wstyle |= TVS_HASBUTTONS;
+ wstyle |= TVS_HASBUTTONS;
if ( m_windowStyle & wxTR_EDIT_LABELS )
- wstyle |= TVS_EDITLABELS;
+ wstyle |= TVS_EDITLABELS;
+
+ if ( m_windowStyle & wxTR_LINES_AT_ROOT )
+ wstyle |= TVS_LINESATROOT;
// Create the toolbar control.
HWND hWndTreeControl = CreateWindowEx(exStyle,
bool wxTreeCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
{
- wxTreeEvent event(0, m_windowId);
- int eventType = 0;
+ wxTreeEvent event(wxEVT_NULL, m_windowId);
+ wxEventType eventType = wxEVT_NULL;
NMHDR* hdr1 = (NMHDR*) lParam;
switch ( hdr1->code )
{
// Tree event
IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxCommandEvent)
-wxTreeEvent::wxTreeEvent(WXTYPE commandType, int id):
+wxTreeEvent::wxTreeEvent(wxEventType commandType, int id):
wxCommandEvent(commandType, id)
{
m_code = 0;
}
#endif
- wxMouseEvent event(wxEVENT_TYPE_LEFT_DOWN);
+ wxMouseEvent event(wxEVT_LEFT_DOWN);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
void wxWindow::MSWOnLButtonUp(const int x, const int y, const WXUINT flags)
{
- wxMouseEvent event(wxEVENT_TYPE_LEFT_UP);
+ wxMouseEvent event(wxEVT_LEFT_UP);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_LEFT_UP;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_LEFT_UP;
GetEventHandler()->OldOnMouseEvent(event);
}
void wxWindow::MSWOnLButtonDClick(const int x, const int y, const WXUINT flags)
{
- wxMouseEvent event(wxEVENT_TYPE_LEFT_DCLICK);
+ wxMouseEvent event(wxEVT_LEFT_DCLICK);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_LEFT_DCLICK;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_LEFT_DCLICK;
// if (m_doubleClickAllowed)
GetEventHandler()->OldOnMouseEvent(event);
}
#endif
- wxMouseEvent event(wxEVENT_TYPE_MIDDLE_DOWN);
+ wxMouseEvent event(wxEVT_MIDDLE_DOWN);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_MIDDLE_DOWN;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_MIDDLE_DOWN;
GetEventHandler()->OldOnMouseEvent(event);
}
void wxWindow::MSWOnMButtonUp(const int x, const int y, const WXUINT flags)
{
//wxDebugMsg("MButtonUp\n") ;
- wxMouseEvent event(wxEVENT_TYPE_MIDDLE_UP);
+ wxMouseEvent event(wxEVT_MIDDLE_UP);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_MIDDLE_UP;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_MIDDLE_UP;
GetEventHandler()->OldOnMouseEvent(event);
}
void wxWindow::MSWOnMButtonDClick(const int x, const int y, const WXUINT flags)
{
- wxMouseEvent event(wxEVENT_TYPE_MIDDLE_DCLICK);
+ wxMouseEvent event(wxEVT_MIDDLE_DCLICK);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_MIDDLE_DCLICK;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_MIDDLE_DCLICK;
// if (m_doubleClickAllowed)
GetEventHandler()->OldOnMouseEvent(event);
}
}
#endif
- wxMouseEvent event(wxEVENT_TYPE_RIGHT_DOWN);
+ wxMouseEvent event(wxEVT_RIGHT_DOWN);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_RIGHT_DOWN;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_RIGHT_DOWN;
GetEventHandler()->OldOnMouseEvent(event);
}
void wxWindow::MSWOnRButtonUp(const int x, const int y, const WXUINT flags)
{
- wxMouseEvent event(wxEVENT_TYPE_RIGHT_UP);
+ wxMouseEvent event(wxEVT_RIGHT_UP);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.m_eventObject = this;
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_RIGHT_UP;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_RIGHT_UP;
GetEventHandler()->OldOnMouseEvent(event);
}
void wxWindow::MSWOnRButtonDClick(const int x, const int y, const WXUINT flags)
{
- wxMouseEvent event(wxEVENT_TYPE_RIGHT_DCLICK);
+ wxMouseEvent event(wxEVT_RIGHT_DCLICK);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
event.SetTimestamp(wxApp::sm_lastMessageTime); /* MATTHEW: timeStamp */
event.m_eventObject = this;
- m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVENT_TYPE_RIGHT_DCLICK;
+ m_lastXPos = event.m_x; m_lastYPos = event.m_y; m_lastEvent = wxEVT_RIGHT_DCLICK;
// if (m_doubleClickAllowed)
GetEventHandler()->OldOnMouseEvent(event);
}
MSWOnMouseEnter(x, y, flags);
}
- wxMouseEvent event(wxEVENT_TYPE_MOTION);
+ wxMouseEvent event(wxEVT_MOTION);
event.m_x = x; event.m_y = y;
event.m_shiftDown = ((flags & MK_SHIFT) != 0);
// Window gets a click down message followed by a mouse move
// message even if position isn't changed! We want to discard
// the trailing move event if x and y are the same.
- if ((m_lastEvent == wxEVENT_TYPE_RIGHT_DOWN || m_lastEvent == wxEVENT_TYPE_LEFT_DOWN ||
- m_lastEvent == wxEVENT_TYPE_MIDDLE_DOWN) &&
+ if ((m_lastEvent == wxEVT_RIGHT_DOWN || m_lastEvent == wxEVT_LEFT_DOWN ||
+ m_lastEvent == wxEVT_MIDDLE_DOWN) &&
(m_lastXPos == event.m_x && m_lastYPos == event.m_y))
{
m_lastXPos = event.m_x; m_lastYPos = event.m_y;
- m_lastEvent = wxEVENT_TYPE_MOTION;
+ m_lastEvent = wxEVT_MOTION;
return;
}
- m_lastEvent = wxEVENT_TYPE_MOTION;
+ m_lastEvent = wxEVT_MOTION;
m_lastXPos = event.m_x; m_lastYPos = event.m_y;
GetEventHandler()->OldOnMouseEvent(event);
}
switch ( wParam )
{
case SB_TOP:
- event.m_eventType = wxEVENT_TYPE_SCROLL_TOP;
+ event.m_eventType = wxEVT_SCROLL_TOP;
break;
case SB_BOTTOM:
- event.m_eventType = wxEVENT_TYPE_SCROLL_BOTTOM;
+ event.m_eventType = wxEVT_SCROLL_BOTTOM;
break;
case SB_LINEUP:
- event.m_eventType = wxEVENT_TYPE_SCROLL_LINEUP;
+ event.m_eventType = wxEVT_SCROLL_LINEUP;
break;
case SB_LINEDOWN:
- event.m_eventType = wxEVENT_TYPE_SCROLL_LINEDOWN;
+ event.m_eventType = wxEVT_SCROLL_LINEDOWN;
break;
case SB_PAGEUP:
- event.m_eventType = wxEVENT_TYPE_SCROLL_PAGEUP;
+ event.m_eventType = wxEVT_SCROLL_PAGEUP;
break;
case SB_PAGEDOWN:
- event.m_eventType = wxEVENT_TYPE_SCROLL_PAGEDOWN;
+ event.m_eventType = wxEVT_SCROLL_PAGEDOWN;
break;
case SB_THUMBTRACK:
case SB_THUMBPOSITION:
- event.m_eventType = wxEVENT_TYPE_SCROLL_THUMBTRACK;
+ event.m_eventType = wxEVT_SCROLL_THUMBTRACK;
break;
default:
switch ( wParam )
{
case SB_TOP:
- event.m_eventType = wxEVENT_TYPE_SCROLL_TOP;
+ event.m_eventType = wxEVT_SCROLL_TOP;
break;
case SB_BOTTOM:
- event.m_eventType = wxEVENT_TYPE_SCROLL_BOTTOM;
+ event.m_eventType = wxEVT_SCROLL_BOTTOM;
break;
case SB_LINEUP:
- event.m_eventType = wxEVENT_TYPE_SCROLL_LINEUP;
+ event.m_eventType = wxEVT_SCROLL_LINEUP;
break;
case SB_LINEDOWN:
- event.m_eventType = wxEVENT_TYPE_SCROLL_LINEDOWN;
+ event.m_eventType = wxEVT_SCROLL_LINEDOWN;
break;
case SB_PAGEUP:
- event.m_eventType = wxEVENT_TYPE_SCROLL_PAGEUP;
+ event.m_eventType = wxEVT_SCROLL_PAGEUP;
break;
case SB_PAGEDOWN:
- event.m_eventType = wxEVENT_TYPE_SCROLL_PAGEDOWN;
+ event.m_eventType = wxEVT_SCROLL_PAGEDOWN;
break;
case SB_THUMBTRACK:
case SB_THUMBPOSITION:
- event.m_eventType = wxEVENT_TYPE_SCROLL_THUMBTRACK;
+ event.m_eventType = wxEVT_SCROLL_THUMBTRACK;
break;
default:
if (initiatingItem->IsKindOf(CLASSINFO(wxListBox)) && initiatingItem->GetCallback())
{
wxListBox *lbox = (wxListBox *)initiatingItem;
- wxCommandEvent event(wxEVENT_TYPE_LISTBOX_DCLICK_COMMAND);
+ wxCommandEvent event(wxEVT_COMMAND_LEFT_DCLICK);
event.m_commandInt = -1;
if ((lbox->GetWindowStyleFlag() & wxLB_MULTIPLE) == 0)
{
wxButton *but = GetDefaultItem();
if (but)
{
- wxCommandEvent event(wxEVENT_TYPE_BUTTON_COMMAND);
+ wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED);
but->Command(event);
}
}
MAKEPRECOMP=
!else
PCH=WX.PCH
-PRECOMP=/YuWX/WXPREC.H /Fp$(WXDIR)\src\msw\$(PCH) /Fd$(WXDIR)\src\msw\wx.pdb
+PRECOMP=/YuWX/WXPREC.H /Fp$(WXDIR)\src\msw\$(PCH) /Fd$(WXDIR)\lib\wx.pdb
MAKEPRECOMP=/YcWX/WXPREC.H
!endif
DUMMY=dummy
!endif
-PRECOMP=/YuWX/WXPREC.H /Fp$(WXDIR)\src\msw\$(PCH) /Fd$(WXDIR)\src\msw\wx.pdb
+PRECOMP=/YuWX/WXPREC.H /Fp$(WXDIR)\src\msw\$(PCH) /Fd$(WXDIR)\lib\wx.pdb
CPPFLAGS=$(WINFLAGS) $(DEBUG_FLAGS) $(PRECOMP) $(EXTRAFLAGS) /D__WINDOWS__ $(INC) $(OPT) /D_DLL /MT $(EXTRADLLFLAGS) /D_WINDOWS /D_WINDLL
CPPFLAGS2=$(WINFLAGS) $(DEBUG_FLAGS) /D__WINDOWS__ $(INC) $(EXTRAFLAGS) $(OPT) /D_DLL /MT $(EXTRADLLFLAGS) /D_WINDOWS /D_WINDLL
LINKFLAGS=$(LINK_DEBUG_FLAGS) -machine:i386 -subsystem:windows,$(APPVER) -dll # -entry:_DllMainCRTStartup$(DLLENTRY)